Namespace:
Are used to avoid conflict of class names.
You can define namespace Arindam and call some function me by calling Arindam.me();
Using Namespace helps for calling other functions in other namespaces.
public static void main:
public: any code can call it
static: a global process thus no need to instantiate
printing:
System.Console.Writeline
interface, class, objects, constructors
Remember class as structure+functions
for normal functions just use static, however for other functions use class-based functions, it is easier to use.
Interface is a group of methods with empty body. A class implements interface. Many class can implement an interface.
$\LaTeX$
Are used to avoid conflict of class names.
You can define namespace Arindam and call some function me by calling Arindam.me();
Using Namespace helps for calling other functions in other namespaces.
public static void main:
public: any code can call it
static: a global process thus no need to instantiate
printing:
System.Console.Writeline
interface, class, objects, constructors
Remember class as structure+functions
for normal functions just use static, however for other functions use class-based functions, it is easier to use.
Interface is a group of methods with empty body. A class implements interface. Many class can implement an interface.
$\LaTeX$
No comments:
Post a Comment