Choices in C# .NET
To Choices in C# .NET conditional operator, if statement, switch statement are used: greeting = age < 20 ? "What's up?" : "Hello"; if (age...
Operators in C# .NET
There are six kinds of operators in C&35; .NET. These are as follows: Comparison: == < > <= >= != Arithmetic: + - * /...
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...