Enumerations in C# .NET
We can use Enumerations in C#35 >NET as following: enum Action {Start, Stop, Rewind, Forward}; enum Status {Flunk = 50, Pass = 70, Excel =...
Constants in C# .NET
We can use constants in C# .NET as following: const int MAX_STUDENTS = 25; // Can set to a const or var; may be initialized...
Data Types in C# .NET
In this section I’ll discuss here about value types, initialization, type information and type conversion: Value Types ------------------------------------- bool byte, sbyte char short, ushort, int,...
Structure of Comments in C# .NET
In every programming language there is a facility to keep comments. The structure of comments in C# .NET is same as C/C++ or java. It...
Program Structure of C# .NET
Here is the basic program structure of C# .NET: using System; namespace Hello { public class HelloWorld { public static void Main(string args) { string...