desert code camp 2014: c#, the best programming language

39
Why I LOVE C#, and you should too! @JamesMontemagno

Upload: james-montemagno

Post on 30-Jun-2015

348 views

Category:

Documents


2 download

DESCRIPTION

Desert Code Camp 2014: C#, the best programming language. Throughout the years many programming languages have come and gone, but C# is here to stay. It is everywhere and can run on over 2.5 Billion devices including desktop, web, servers, mobile devices, and game consoles! Come learn why I love C# so much and all of the amazing features it has to offer. This session will be action packed with so much live coding you will not know what to do!

TRANSCRIPT

Page 1: Desert Code Camp 2014: C#, the best programming language

Why I LOVE C#, !and you should too!!

@JamesMontemagno!

Page 2: Desert Code Camp 2014: C#, the best programming language

Who is this guy?!

James Montemagno!Developer Evangelist, Xamarin!

@JamesMontemagno !!motzcod.es!

MyStepCounterApp.com!

Page 3: Desert Code Camp 2014: C#, the best programming language

C Hash Tag?!

Page 4: Desert Code Camp 2014: C#, the best programming language

C Pound Sign?!

Page 5: Desert Code Camp 2014: C#, the best programming language

Musical note lying a chromatic semitone above C and a diatonic

semitone below D?!

Page 6: Desert Code Camp 2014: C#, the best programming language

C Sharp!!

Page 7: Desert Code Camp 2014: C#, the best programming language

What is this!C# thingy?!

Page 8: Desert Code Camp 2014: C#, the best programming language

The best programming language ever!!

!!

In my opinion…!!

Page 9: Desert Code Camp 2014: C#, the best programming language

Multi-paradigm programming language encompassing these programming disciplines:!§  Strong typing!§  Imperative!§  Declarative!§  Functional!§  Generic!§  Object-oriented (class-based)!§  Component-oriented!

Wikipedia Stuff!

Page 10: Desert Code Camp 2014: C#, the best programming language

What is this CLI thing?!

Page 11: Desert Code Camp 2014: C#, the best programming language

It is a standard!

Ecma (ECMA-334) !!ISO (ISO/IEC 23270:2006)!

Page 12: Desert Code Camp 2014: C#, the best programming language

Common Language Infrastructure!

An environment that allows multiple high-level languages to be used on a different computer environment.!

Page 13: Desert Code Camp 2014: C#, the best programming language
Page 14: Desert Code Camp 2014: C#, the best programming language

•  .NET Framework!•  Mono!•  Portable.NET!

CLI Implementations!

Page 15: Desert Code Camp 2014: C#, the best programming language

Where did C# come from?!

Page 16: Desert Code Camp 2014: C#, the best programming language
Page 17: Desert Code Camp 2014: C#, the best programming language

Anders Hejlsberg!

Page 18: Desert Code Camp 2014: C#, the best programming language
Page 19: Desert Code Camp 2014: C#, the best programming language
Page 20: Desert Code Camp 2014: C#, the best programming language

Awesome, awesome, awesome!!!!

§  Generics!§  Anonymous Types!§  Lambdas!§  LINQ!§  Coalesce nulls operator!§  Implicit Generics!§  Auto Properties!§  Namespace Aliases!§  Enum Values!§  Event Operators!§  Format String Brackets!§  Conditional Ternary!§  Checked & Unchecked!

§  Async/Await!§  Preprocessor Directives!§  Partial methods!§  Extension Methods!§  Object Initializers!§  Operator Overloading!§  Type Inference!§  WeakReference!§  System.IO.Path!§  Mutex!§  Nullable<T>!§  String.IsNullOrWhitespace()!§  Anonymous inline-functions!

Page 21: Desert Code Camp 2014: C#, the best programming language

DEMO TIME!!

Page 22: Desert Code Camp 2014: C#, the best programming language
Page 23: Desert Code Camp 2014: C#, the best programming language

Open source !compiler!!!http://roslyn.codeplex.com/!

!

Page 24: Desert Code Camp 2014: C#, the best programming language
Page 25: Desert Code Camp 2014: C#, the best programming language

C# runs on a !bunch of devices…!

Page 26: Desert Code Camp 2014: C#, the best programming language
Page 27: Desert Code Camp 2014: C#, the best programming language

Tons of Microsoft Devices!!

Page 28: Desert Code Camp 2014: C#, the best programming language

Microsoft Development Stuff!

§ Win Forms!§ ASP.NET!§ WPF!§ Windows Phone!§ Windows Store!§ Silverlight!

Page 29: Desert Code Camp 2014: C#, the best programming language

But wait, !there’s more!!

Page 30: Desert Code Camp 2014: C#, the best programming language

More Devices Please!!

&!

Page 31: Desert Code Camp 2014: C#, the best programming language

Native iOS, Android, Mac, & Windows!Apps all in C# and Visual Studio!!

Page 32: Desert Code Camp 2014: C#, the best programming language

With Android Comes….!

Page 33: Desert Code Camp 2014: C#, the best programming language

But wait, !there’s more!!

Page 34: Desert Code Camp 2014: C#, the best programming language

More Devices Please!!

MonoGame!CocosSharp!

!

Page 35: Desert Code Camp 2014: C#, the best programming language

C# for games too!!

Page 36: Desert Code Camp 2014: C#, the best programming language

C# Runs on 2.6 Billion Devices!!!

Page 37: Desert Code Camp 2014: C#, the best programming language
Page 38: Desert Code Camp 2014: C#, the best programming language

That is why I LOVE C#, !and you should too!!

Page 39: Desert Code Camp 2014: C#, the best programming language

Q & A!

Find Me:!@JamesMontemagno !motz.codes!