24. November 2009: Ko- und Kontravarianz bei Bonn-to-Code

Beim nächsten Bonn-to-Code-Usergroup-Treffen halte ich einen Kurzvortrag zu Ko- und Kontravarianz in C#.

Sneak Peak

Eines der meistbegrüßten Features aus .NET 4 und gleichzeitig eines der am wenigsten verstandenen. Leicht dahergesagt, dass Argumente von Methoden und Delegates schon immer kontravariant waren. Und dass in C# 4.0 jetzt noch sichere Ko- und Kontravarianz für generische Typparameter hinzukommt. Und weil man das mit Ko- und Kontra so schnell verwechselt heißt es jetzt einfach "out" und "in". Oder war das andersrum? Nicht ganz sicher?

Ich kann schonmal so viel verraten, dass ich mich sogar an selbstgemalten Bildchen versuchen werde. Außerdem kommen Tiger und Schlangen vor!

image

Weitere Themen

  • M und die "Oslo" Plattform Benjamin Gopp
  • Kurzvortrag: Umgang mit .NET Assemblies Thomas van Veen

Mehr Informationen

Showtime is when the impossible happens

Just yesterday I introduced Windows Workflow Foundation to the .NET User Group Dortmund (Germany). It was my first technical presentation I held in front of public audience and according to Murphys Law everything that could go wrong went wrong.

As it just has to be, many things didn’t work out how I expected them to do. My MacBook crashed, the virtual “Paralells” XP installation got “confused”, restored an old snapshot to the virtual primary disk and  resumed from what I left the last time I suspended Paralells. The last four hours work on my PowerPoint presentation were lost. Visual Studio started, but the Workflow Designer didn’t work because some dll’s could not be found on the corrupted virtual disk.

Someone borrowed me another machine, but then I did not have enough time to show a proper demo.

Although I got the message through. Be sure, I’ll make a better show next time.