top of page

Admin
Jun 23, 20241 min read
Simple for loop in C#
To write all the number from 0 to 10 for (int i = 1; i <= 10; i++) { Console.Write($"{i} "); } output: 1 2 3 4 5 6 7 8 9 10 To write all...
3 views
0 comments

Admin
Jun 23, 20241 min read
Swicth Case Example for C#
This console application use switch&case for detecting the day type which represents the simple example for C# Console.WriteLine("type a...
0 views
0 comments
Admin
Jun 23, 20241 min read
Prefix and Postfix increments in C#
Example at belows show prefix and postfix increments in C#. int x = 5; Console.WriteLine("x: {0}", x); //Output x: 5...
1 view
0 comments
Admin
May 13, 20241 min read
C# Writeline vs Write
Write is used to output data without adding a newline character, while Writeline adds a newline character after the output...
3 views
0 comments
bottom of page