C# Programming · 1 of 3
Pattern matching
AtomicRepsNavigation
The C# language: its type system, its members, its patterns and the rules the compiler enforces.
C# Programming · 1 of 3
Pattern matching
C# Programming · 2 of 3
Extension methods
using System;using System.Collections.Generic;using System.Linq;static class Help{ public static IEnumerable<int> Doubled(this IEnumerable<int> xs) { Console.WriteLine("walking"); foreach (int x in xs) yield return x * 2; }}class P{ static void Main() { var q = new[] { 1, 2, 3 }.Doubled(); Console.WriteLine("built"); Console.WriteLine(string.Join(",", q)); Console.WriteLine(q.Count()); }}C# Programming · 3 of 3
Lambdas
Three of the 1,760 C# Programming questions.
Keep going with C# Programming, free