Useful C# for interview point

Note that because static methods are not part of an object, you cannot use the this keyword
in such methods. It's important to know that static methods cannot directly access non-static
members (which means, for example, that you cannot call a non-static method from a static
method). Instead, they must instantiate an object and use the members of that object to
access non-static members .

Static constructors are called before any objects(constructor) are created from your class

what's the difference between new and override? You use new when you're replacing a
base class method with the same signature, and you use override when you're customizing it
in the current class.

0 comments:

Listen to nirmaln - sakara - playlist audio songs at MusicMazaa.com