Tag: c#.net

Arrays in C# .NET

Array is one of the important part of programming language. int nums = {1, 2, 3}; for (int i = 0; i < nums.Length; i++)...

Operators in C# .NET

There are six kinds of operators in C&35; .NET. These are as follows: Comparison: == < > <= >= != Arithmetic: + - * /...

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...