1 / 10

What?!? C# Could Do That??

What?!? C# Could Do That??. Shay Friedman CodeValue shayf@codevalue.net | @ironshay | http://IronShay.com. Shay Friedman shayf@codevalue.com | @ ironshay http://IronShay.com | http://CodeValue.com. Agenda. The dynamic keyword The DLR and IronLanguages Roslyn. The dynamic Keyword.

mayten
Télécharger la présentation

What?!? C# Could Do That??

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What?!? C# Could Do That?? Shay Friedman CodeValue shayf@codevalue.net | @ironshay | http://IronShay.com

  2. Shay Friedman shayf@codevalue.com | @ironshay http://IronShay.com | http://CodeValue.com

  3. Agenda • The dynamic keyword • The DLR and IronLanguages • Roslyn

  4. The dynamic Keyword • New in .NET 4.0 • Resolution of method calls or field accesses is done during runtime

  5. The DLR and IronLanguages IronRuby IronPhyton C# VB.Net Others… Dynamic Language Runtime Expression Trees Dynamic Dispatch Call Site Caching Object Binder JavaScript Binder Python Binder Ruby Binder COM Binder

  6. LOLCODE Code start Equivalent to: FISH = “Yummy”; HAI CAN HAS STDIO? I HAS A FISH ITZ "Yummy" VISIBLE FISH VISIBLE "HAI WORLD!" IM IN YR LOOP VISIBLE “LOOP!” KTHX KTHXBYE Equivalent to: Console.WriteLine(“HAI WORLD!”); Loop start Loop end Code end

  7. Roslyn

  8. Summary • The dynamic keyword • The DLR and IronLanguages • Roslyn

  9. Resources • http://visualstudiomagazine.com/Articles/2011/02/01/Understanding-the-Dynamic-Keyword-in-C4.aspx • http://ironruby.com/ • http://ironpython.net/ • http://msdn.microsoft.com/en-us/roslyn • http://www.amazedsaint.com (dynamic and roslyn samples)

  10. Thank You!

More Related