C#. Delegates. Events. Good Example Bad Example

Good example

Bad Example not Ok variant

 

Posted in C# | Comments Off on C#. Delegates. Events. Good Example Bad Example

C#. Delegate generic emulation

123

 

Posted in C# | Comments Off on C#. Delegate generic emulation

C#. Generic delegates

123

 

Posted in C# | Comments Off on C#. Generic delegates

C#. Delegate Covariance

123 not clear what the sense… of getting delegate objs

 

Posted in C# | Comments Off on C#. Delegate Covariance

C#. Delegates. Very simple example

Delegates similar to NotifyEvents or procedures of object in Delphi,

We can register or unregister handlers in calling code

 

 

Posted in C# | Comments Off on C#. Delegates. Very simple example

C#. SimpleDelegate

Delegate execute code in additional thread in Sync or Async modes, main methods

Invoke() – sync mode

BeginInvoke() – async mode

EndInvoke() async mode

 

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

C#. GenericsWhereKeyWord

123

 

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

C#. Custom generic Structures and classes

123

 

Posted in C# | Comments Off on C#. Custom generic Structures and classes

C#. Custom generic methods

123

 

Posted in C# | Comments Off on C#. Custom generic methods

C#. SortedSet<>

123

 

Posted in C# | Comments Off on C#. SortedSet<>