What do you want to save?
Add Code snippet
New code examples
-
C# 2021-11-18 16:53:12
convert string into float C#
class Program { static void Main(string[] args) { s... Add solution -
C# 2021-11-17 06:33:11
c# read from file line by line
int counter = 0; string line; // Read the file and display it line by line. System.IO.StreamReader file = new System.IO.StreamReader(@"c:\test.txt"); while((line = file.ReadLine()) != null) { System.Console.WriteLine(line)... Add solution -
C# 2021-11-15 09:39:38
how to read particular line of file in c#
int counter = 0; string line; // Read the file and display it line by line. System.IO.StreamReader file = new System.IO.StreamReader(@"c:\test.txt"); while((line = file.ReadLine()) != null) { System.Console.WriteLine(line)... Add solution -
C# 2021-11-13 00:20:11
console readline c#
Your_Char=Convert.ToChar(Console.readline()); Add solution -
C# 2021-11-06 09:41:15
how to take user input in string in c#
//for user input in C#, you need to first declare the variable //suppose we are going to take a input from the user string username = Console.Readline() ; Console.Writeline= (" your name is " + username); //input Sadmansaqib // Output your ... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5