C# Beyond

Thursday, October 10, 2013

Standardized language for creating .NET components and applications

Create Windows, Web Applications, Services and reusable Libraries

Happy Programming!

Characteristics:

  1. multi-paradigm
  2. strongly typed
  3. imperative, declarative, functional, procedural, object oriented and component oriented
  4. simple,modern, general purpose
  5. array bounds checking
  6. automatic garbage collection

Implicit typing calling generic method


LINQ query syntax, method syntax


LINQ Where orderby select


Mixed Syntax


Multicast Delegate


Multicast delegate when return type not void cycles through all subscribers, only provides calculation for last


Using keywords for variable names


Named Parameters


Extension Methods


Refactor: Timespan extension methods, renaming parameters


Fluent Api, chaining extension methods


Initial validation implementation


Refactor using functional validation


Optional parameters


Automatic implemented properties


Full property equivalent to an automatic property


Virtual can be overriden in a derived class


Inheritance and override


Abstract class with abstract member

Default Success Warning Important Info Inverse
B S W I ? O