Download presentation
Presentation is loading. Please wait.
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 `
9
References Properties Panel Code Editor Toolbar Solution Explorer Ouput Start (Run)
12
Start/Continue
13
Introduction > Variables, Operators & Loops > Classes & Methods > Files & Exceptions Additional Topics
15
Variables class Method ( ) Data Types Integer String var? Assignment Output namespace using statements // 1-line comment /* multi-line comments */
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 ?:
20
Declare & Assign StringBuilder Special Characters Concatenate Literal string.Format() Char Array String Functions
22
for loop while loop continue break switch-case statements default break if/else blocks
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
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
35
Introduction > Variables, Operators & Loops > Classes & Methods > Files & Exceptions Additional Topics
38
name of enum initialization not required enum keyword }
39
if-else check initialization } } switch-case check
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
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!
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
54
Two data types for key-value pairs Initialize multiple values (separated by commas) Initialize individually
55
retrieve value, using [key] in square brackets
58
initialize number array retrieve contents
59
similar to SQL dot-notation e.g. myNums.Where() => “goes to” syntax for input into expression
66
note public method
67
call public method assert returned result pass in input parameters and expected result
69
Email: shchowd@microsoft.com Twitter: @shahedCshchowd@microsoft.com@shahedC
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.