d1 overview of c# programming
DESCRIPTION
Overview picture of C# programming languageTRANSCRIPT
Overview of C# Programming
Pakorn Weecharungsan
Contents
Overview of C# Variables Expressions and Operators Statements Arrays Classes and Methods
Overview of C# - A Simple C# Program
Overview of C# - A Simple C# Program Line 1 บอก Compiler ให้�ทราบว่�าโปรแกรมนี้��ม�
การใช้�System namespace Line 3 ประกาศ namespace ท��ม�ช้��อว่�า Simple Line 5 สร�าง class ท��ม�ช้��อว่�า Program Line 7 สร�าง method ท��ม�ช้��อว่�า Main Line 9 แสดงข้�อคว่าม “Hi There!” ออกทาง
จอภาพ
Overview of C# - Identifiers and Keywords
Overview of C# - Identifiers and Keywords
Overview of C# - Text Output from a Program Write
WriteLine
Overview of C# - The Format String
Format
Example
Overview of C# - Comments
Variables – Simple Types
Variables – Simple Types
Variables – Declarations
Variables – Initializers
Variables – Multiple Declarations
Expressions and Operators – Simple Arithmetic Operators The Simple Arithmetic Operators
Example
Expressions and Operators – The Remainder Operator The Remainder Operator
Example
Expressions and Operators – Rational and Equality Comparison Operators
Expressions and Operators – Rational and Equality Comparison Operators
Expressions and Operators – Increment and Decrement Operators
Expressions and Operators – Increment and Decrement Operators
Expressions and Operators – Conditional Logical Operators
Expressions and Operators – Conditional Logical Operators
Expressions and Operators – Assignment Operators
Expressions and Operators – Assignment Operators
Expressions and Operators – The Conditional Operators
Expressions and Operators – The Conditional Operators
Expressions and Operators – The Conditional Operators
Expressions and Operators – The Conditional Operators
Expressions and Operators – Unary Arithmetic Operators
Statements – Flow of Control
Conditional statements if if…else switch
Looping statements while do for foreach
Jump statements break continue return goto throw
Statements – The if Statements
Statements – The if…else Statements
Statements – The switch Statements
Statements – The switch Statements
Statements – The switch Statements
Statements – The switch Statements
Statements – The switch Statements
Statements – The switch Statements
Statements – The while Loop
Statements – The while Loop
Statements – The do Loop
Statements – The do Loop
Statements – The for Loop
Statements – The for Loop
Statements – The for Loop
Statements – The for Loop
Statements – The break Statement
for foreach while do
Statements – The continue Statement while do for foreach
Statements – The using Statement
Statements – The using Statement
Arrays
Arrays – Accessing Array Elements
%d1%81%d0%b8%d1%81%d1%82%d0%b5%d0%bc%d1%8b %d0%b2%d0%b5%d0%bd%d1%82%d0%b8%d0%bb%d1%8f%d1%86%d0%b8%d0
%d0%a0%d0%b5%d0%b7%d0%be%d0%bb%d1%8e%d1%86%d1%96%d1%8f %d1%81%d1%82%d0%b0%d0%bb%d0%b8%d0%b9 %d1%80%d
%d1%81%d0%b5%d1%80%d1%82%d0%b8%d1%84%d0%b8%d0%ba%d0%b0%d1%82 %d1%82%d1%80%d1%83%d0%b1%d0%b0 %d1%81%d