Presentation is loading. Please wait.

Presentation is loading. Please wait.

Beginner - WakeUpAndCode.com.

Similar presentations


Presentation on theme: "Beginner - WakeUpAndCode.com."— Presentation transcript:

1 Beginner - Intermediate @shahedC WakeUpAndCode.com

2 Introduction > Variables, Operators & Loops > Classes & Methods > Files & Exceptions Additional Topics

3 PeriodBackground/Experience 1997 – present Microsoft web/software development 2011XNA games on XBLIG for Xbox 360 2D Math Panic Angry Zombie Ninja Cats 2012Tools for XNA developers XBLIG Sales Data Analyzer (OnekSoftLabs.com) XNA Basic Starter Kit (CodePlex) Online: http://facebook.com/OnekSoftGameshttp://facebook.com/OnekSoftGames

4 PeriodBackground/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/lRjrQPvVOpohttp://youtu.be/lRjrQPvVOpo MVA: http://aka.ms/DevGames-Const2 http://aka.ms/DevGames-Const2

5 Source: Official Xbox Magazine, March 2014, Page 65 `

6

7

8

9 References Properties Panel Code Editor Toolbar Solution Explorer Ouput Start (Run)

10

11

12 Start/Continue

13 Introduction > Variables, Operators & Loops > Classes & Methods > Files & Exceptions Additional Topics

14

15 Variables class Method ( ) Data Types Integer String var? Assignment Output namespace using statements // 1-line comment /* multi-line comments */

16

17 TypeOperators Unary Postfix Operators ++ -- Unary Prefix Operators ++ -- + - Multiplicative Operators * / % (modulus) Additive Operators + - Assignment Operators = higher lower

18 TypeOperators Equality == != Logical AND & Logical XOR ^ Conditional AND && Conditional OR || Conditional Ternary Operator ?:

19

20 Declare & Assign StringBuilder Special Characters Concatenate Literal string.Format() Char Array String Functions

21

22 for loop while loop continue break switch-case statements default break if/else blocks

23

24

25 1 2 3

26 constructors properties Instance variable public method private methods (overloaded) class declaration this keyword

27 parent class complex object public method private variable

28

29

30 1 2 3

31 1 2 3

32 Set to “Copy always” enter sample data

33 Use System.IO namespace for StreamReader Handle possible exceptions with try-catch block

34

35 Introduction > Variables, Operators & Loops > Classes & Methods > Files & Exceptions Additional Topics

36

37

38 name of enum initialization not required enum keyword }

39 if-else check initialization } } switch-case check

40

41

42 static class static method this keyword before first parameter data type matches extended class e.g. string

43 data type to be extended call extension method just like Instance method

44

45

46 placeholder within right after method name placeholder used for one or more parameters

47 actual data type, e.g. within in place of placeholder a different data type!

48

49

50 } add values individually } add multiple values at once (separated by commas) Declare Lists of different types e.g. and

51 iterate through values using foreach loops

52

53

54 Two data types for key-value pairs Initialize multiple values (separated by commas) Initialize individually

55 retrieve value, using [key] in square brackets

56

57

58 initialize number array retrieve contents

59 similar to SQL dot-notation e.g. myNums.Where() => “goes to” syntax for input into expression

60

61

62

63

64

65

66 note public method

67 call public method assert returned result pass in input parameters and expected result

68

69 Email: shchowd@microsoft.com Twitter: @shahedCshchowd@microsoft.com@shahedC


Download ppt "Beginner - WakeUpAndCode.com."

Similar presentations


Ads by Google