The New C# 6.0 Language Features Explained

I am a professional and passionate software developer and have been using the Microsoft :NET platform for more than a decade now. A few months ago the new C# compiler was released which supports the new language version C# 6.0. The following video which I recorded “wiff ze German English accent” I explain some of…

Yield return & using IDisposable

Deutsche Version “Yield return” is a powerful and handy statement if you want to quickly and easily an iteratable list without creating an Array or a List first: using System; using System.Collections.Generic; using System.Drawing; class Program { static void Main() { var colors = Rainbow; Console.WriteLine(“colors.GetType(): {0}”, colors.GetType()); Console.WriteLine(); foreach (Color color in colors) {…