Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

C Sharp Crash Course

16,318 views

Published on

C# Crash Course for college students and any beginner who wants to learn the popular language.

Published in: Technology
  • Be the first to comment

C Sharp Crash Course

  1. 1. For Beginners WakeUpAndCode.com @shahedC
  2. 2. Introduction > Variables, Operators & Loops > Classes & Methods > Files & Exceptions Additional Topics
  3. 3. Period Background/Experience 1997 – present Microsoft web/software development 2011 XNA games on XBLIG for Xbox 360 • 2D Math Panic • Angry Zombie Ninja Cats 2012 Tools for XNA developers • XBLIG Sales Data Analyzer (OnekSoftLabs.com) • XNA Basic Starter Kit (CodePlex) Online: http://facebook.com/OnekSoftGames
  4. 4. Period Background/Experience 2013 • Ninja Cat Runner on Win8, WP8, Web (Construct 2) • Video Q&A with MS Tech Evangelist Frank La Vigne • Founder/Admin of FB groups: Construct2, Xbox One & Unity Indie Devs • Started Public Speaking in DC area and East Coast 2014 • Public Speaking on Indie Game Development • Joined Microsoft as a Sr. Technical Evangelist • Gallant Glider on Win8, WP8, Web (Construct 2  Universal App) Video Q&A: http://youtu.be/lRjrQPvVOpo MVA: http://aka.ms/DevGames-Const2
  5. 5. Source: Official Xbox Magazine, March 2014, Page 65 `
  6. 6. http://www.visualstudio.com/downloads
  7. 7. References Properties Panel Code Editor Toolbar Solution Explorer Ouput Start (Run)
  8. 8. http://www.dotnetspark.com/tutorialpic/clr.png
  9. 9. Start/Continue
  10. 10. using statements Method ( ) class Variables Data Types • Integer • String • var? Assignment Output namespace // 1-line comment /* multi-line comments */
  11. 11. Type Operators Unary Postfix Operators ++ -- Unary Prefix Operators ++ -- + - Multiplicative Operators * / % (modulus) Additive Operators + - Assignment Operators = lower higher
  12. 12. Type Operators Equality == != Logical AND & Logical XOR ^ Conditional AND && Conditional OR || Conditional Ternary Operator ?:
  13. 13. Declare & Assign StringBuilder Special Characters Literal Concatenate string.Format() Char Array String Functions
  14. 14. for loop while loop continue break switch-case statements default break if/else blocks
  15. 15. 1 3 2
  16. 16. Instance variable properties constructors public method private methods (overloaded) class declaration this keyword
  17. 17. parent class complex object public method private variable
  18. 18. 1 3 2
  19. 19. 1 2 3
  20. 20. Set to enter sample data “Copy always”
  21. 21. Use System.IO namespace for StreamReader Handle possible exceptions with try-catch block
  22. 22. http://www.microsoftvirtualacademy.com/training-courses/ c-fundamentals-for-absolute-beginners http://www.microsoftvirtualacademy.com/training-courses/ developer-training-with-programming-in-c
  23. 23. Email: shchowd@microsoft.com  Twitter: @shahedC

×