Let’s see a example First . Create three files first File1.cs File2.cs Program.cs What is Partial Class Partial Class is a way by which we…
The part of the program where a particular variable is accessible is termed as the Scope of that variable. A variable can be defined in…
A variable is a name given to a memory location and all the operations done on the variable effects that memory location. In C#, all…
An object is also called an instance. The object will contain its own set of fields, which can hold values that are different to those…
The “this” keyword is a special type of reference variable, that is implicitly defined within each constructor and non-static method as a first parameter of…
When we pass a value type variable using ref keyword the reference of the variable is passed and both variable names points to same memory location. So…
What is Delegates ? A delegate is a reference type variable that holds the reference to a method. The reference can be changed at runtime. Delegate is…
string is an alias for System.String. They compile to the same code, so at execution time there is no difference whatsoever. This is just one of the…
What is Access Modifiers ? Access Modifiers are the keywords which are used to define the accessibility of the class and its members such as method , properties…
There are many situations when you might need to split a class definition, such as when working on a large scale projects, multiple developers and programmers…

