C#. IClonable

123

 

Posted in C# | Comments Off on C#. IClonable

C#. Iteration with Yield

to support foreach in GarageClass

123

 

Posted in C# | Comments Off on C#. Iteration with Yield

C#. IEnumerable и Ienumerator

To support foreach in some classes – see example below

Ok

Not Ok

 

 

Posted in C# | Comments Off on C#. IEnumerable и Ienumerator

C#. Multi inheritance of interfaces

123

 

Posted in C# | Comments Off on C#. Multi inheritance of interfaces

C#. Interfaces Hierarchy

123

 

Posted in C# | Comments Off on C#. Interfaces Hierarchy

C#. Explicit interfaces implementation

123

 

Posted in C# | Comments Off on C#. Explicit interfaces implementation

C#. Array of interfaced objects

123

full example

 

Posted in C# | Comments Off on C#. Array of interfaced objects

C#. Interface as return value

123

In Main

 

Posted in C# | Comments Off on C#. Interface as return value

C#. Interface as method Param

123

 

Posted in C# | Comments Off on C#. Interface as method Param

C#. Interfaces Is as

Is as

try catch – not best variant

123

 

Posted in C# | Comments Off on C#. Interfaces Is as