|
|
Created by mangat.paul
over 11 years ago
|
|
main features of a static class
public
private
protected
internal
protected internal
method hiding
polymorphism
method parameters
methods
passing a parameter by value vs. reference
out parameters used if multiple values need to be returned from a method
parameter arrays
private fields naming convention
"value" keyword
properties
using properties for encapsulation
public string city {get; set;}
object initializer syntax
struct vs. class
Interfaces
Explicit Interface Implementation
Abstract Classes
Abstract Classes Vs. Interfaces
problem with multiple class inheritance
(Ofcourse c sharp does not support this)
Multiple class inheritance using interfaces
Multicast Delegates
Handling Exceptions
Hide known cards