Tagged: CSharp fundamentals

Sagar-jaybhay-CSharp

Constant & ReadOnly

Difference between Constant & Read only: by Sagar Jaybhay Constant – are compile-time constant and not assign a static keyword to constant and also accessible in static method. Value is set when the declaration...

Sagar-jaybhay-CSharp

Collection

Collection In C#– by Sagar Jaybhay Arrays:                 When you use int i=10; you can store only one value in that variable but when you need to enter multiple items/value of the same type...

Sagar-jaybhay-CSharp

Loops in C#

Types of loop in c#-by Sagar Jaybhay For, foreach, while and do while These are 4 types of loop available in c#. For and foreach are iteration based loops. In for loop, we required...

Sagar-jaybhay-CSharp

Flow Statement in C#

Control Flow Statement – By Sagar Jaybhay Control Flow: –  Control flow means in which order particular statement , method calls are executed during program execution. Conditional Statement: – if and switch statement If...