Visual Studio / .NET Framework

VSH12 Roslyn and .NET Code Gems

11/19/2015

11:00am - 12:15pm

Level: Intermediate

Scott Allen

Founder

OdeToCode LLC

When Microsoft moved their compilers and framework to an open source model, they gave us unparalleled access to a real world, large scale managed code base. There are many lessons to learn within source code repositories, and lots of useful bits of code you can borrow. In this session, you'll explore the code base and look for hidden gems. Some of these gems are useful, others make for interesting trivia, and some classes are so bizarre, you'll have to see them to believe them. Expect equal levels of entertainment and education in this whirlwind tour of C# code.

You will learn:

  • How object pooling and caching can improve performance
  • Not all dictionaries are considered equal (in terms of performance)
  • It is possible to have a class with 31 generic type parameters