Week 2

We first finished with the value-reference types, boxing-unboxing for value types, implict/explicit casting between types and basic arithmetic operations in basic value types. We then continued with classes: properties, methods, static methods, access modifiers, pass-by-reference for value types and const-readonly keywords.

Next week, we will continue with advanced class concepts, arrays, events, delegates in the first 3-hour of the class. Next we will talk about Windows Forms.

Powerpoint files

classes1

control

C# codes discussed in class

gradebook_cs

gradebooktest_cs

Account_cs

AccountExercise_cs

scope_cs

passbyref_cs

maximum_cs

counting_while_cs

sentinel_while_cs

gradebookswitch_cs

drawtriangle_cs