vendredi 25 janvier 2013

.Net and Softwaredesign tips:

C# quick & easy tutorial: http://www.ivobrugge.be/cursusweb/csharp/index.asp

Hoe een object verdwijnt (GC):

Destructors: http://www.c-sharpcorner.com/UploadFile/chandrahundigam/UnderstandingDestructors11192005021208AM/UnderstandingDestructors.aspx

Destructors - IDisposeable - Finalize: http://csharpsimplified.wordpress.com/2010/10/03/destructor-finalize-idispose/

Heeft een, is een en gedraagt zich als:
http://stackoverflow.com/questions/14139097/c-sharp-inheritance-implements-extends
http://db.tt/ZUFKvlWR

Delegates, events, Lambda expressions en anonymous methods:
Delegates terug te vinden in de tutorial onder Polymorfisme


Events: 

Events enable a class or object to notify other classes or objects when something of interest occurs. The class that sends (or raises) the event is called the publisher and the classes that receive (or handle) the event are called subscribers.

http://www.codeproject.com/Articles/9355/Creating-advanced-C-custom-events/
http://msdn.microsoft.com/en-us/library/ms366768.aspx 

Lambda expressions:


A lambda expression is an anonymous function that you can use to create delegates or expression tree types. By using lambda expressions, you can write local functions that can be passed as arguments or returned as the value of function calls. Lambda expressions are particularly helpful for writing LINQ query expressions.
To create a lambda expression, you specify input parameters (if any) on the left side of the lambda operator =>, and you put the expression or statement block on the other side.

http://msdn.microsoft.com/en-us/library/bb397687.aspx

Anonymous methods:

Anonieme methoden zijn methoden dat men kan oproepen op één bepaalde plaats (via een delegate), maar nergens anders. Eens de (delegate) overschreven is, is deze methode ook verloren.

Zo lang een delegate deze anonieme methode onthoud, kan een gebruiker deze oproepen. Na overschrijving is dit gedaan.


Nullable types, operator overloading, extension methods, anonymous types:


Gelijkheid en volgorde: 

Collections en generics: 

Enumeratie en iteratoren: 
IEnumerable
http://msdn.microsoft.com/en-us/library/vstudio/cc138362.aspx
http://www.codeproject.com/Articles/18717/Enumerating-Objects-in-C
http://msdn.microsoft.com/en-us/library/vstudio/dscyy5s0.aspx

foreach
for
while
do ... while
if ... else
switch ... case ... : ... break;

User defined controls: 

Threading:

 

Assemblies:


LINQ:
http://db.tt/jX78shaj

DB conn Access:
http://stackoverflow.com/questions/4598294/reading-data-from-access-database-in-c-sharp

http://www.youtube.com/watch?v=jd3yUjGc9M0 

https://docs.google.com/document/d/1j7C9kUj5g3WQD_6rIvWkShS5CvSpw_ErS4Pz8K2lgFY/edit