Category: Language

07
Sep
2017

How many constructor a class have in C# ?

Is it known as constructor overloading ? //we can also print it from constructor using System; namespace…

07
Sep
2017

C# usage of Static Keyword

//static field using System; namespace StaticKeyword { public class Account { public int accno; public string name;…

06
Sep
2017

C# Constructor and Destructor

//default constructor example //When a method name is same as class name we call it as constructor…

05
Sep
2017

C# Object and Classes

//having main in another class using System; namespace OObj1 { class Student1 { public int id; public…

27
Aug
2017

Difference between Out and Ref keyword in C#

https://www.javatpoint.com/c-sharp-call-by-reference https://www.javatpoint.com/c-sharp-out-parameter      

12
Aug
2017

Calling Method Example in C#

code: with object creation from class: using System; namespace CallingMethods { class Program { int Add(int a,…