C#ProgrammingMyanmar PathOne
C#ProgrammingMyanmar PathOne
C# Programming
C#
Microsoft Visual studio 2013 install ႔
install ႔
Visual studio
၁ Console application
၂ Windows application
၃ Web application
Windows application
Programming language ႔
-Web Developer
-Windows Software Developer
-Game Developer
-Mobile App Developer
programming
programming fundamental
႔ ႔
2 C# Programming Myanmar
C# programming
C# programming
Microsoft company ႔ language Visual studio
application error
application c#
programming
System.out.print ႔ run ႔
႔ Windows form ႔
႔
Application ႔---
Application ႔
-programming
- ( )
-Database ( Select )
-Database ႔
Windows application
---
Software developer
႔
႔ ႕
႔ ႔
႔ ႔ ႔
႔
3 C# Programming Myanmar
႕ c# programming ႔
C# Programming
႕ ႔
၅
႔
European Computer Manufacturers Association ႔
႕
- ႔
႔
႔ ႔
႔
- Boolean Conditions
- Automatic Garbage Collection
- Standard Library
- Assembly Versioning
- Propertties and Events
- Delegates and Events Management
- Easy to use Generics
- Indexers
- Conditions Compliation
- Simple Multithreading
- LINQ and Lambda Expressions
- ႔ Lan
4 C# Programming Myanmar
႔
႔ ႔ ႔
႔ ႔
႔
႔
႔ ႔
႔
႔
႔
႔
႔
႔
5 C# Programming Myanmar
Xamarin Frame ႔
႔ ႔ ႔ Xamarin
႕ ႔
႕
Junior ႔
႔
6 C# Programming Myanmar
language
Visual C# ႔ ႔
7 C# Programming Myanmar
Visual studio
visual c# ႔
႔ menu Windows Windows
Forms Application
Name frmTest ႔
Location project ႔ folder
႔
Project
8 C# Programming Myanmar
C# (၂
႔ ႔
-
(၁) Projects
႔
Toolbox ႕
Button
10 C# Programming Myanmar
႕ button1 button
button1 Save
Properties Text button1 ႔
Save ႔
Property Event
Property
Event ႔
႔
frmTest Windows Form
Save ႔ button1
ABC ႔
button ႕ Properties
12 C# Programming Myanmar
Event
mouse Event ႔
button ႕ Event
event save button button
႕ properties
---
13 C# Programming Myanmar
button ႔
run ---
Run ႔
14 C# Programming Myanmar
႔
hello world ႔
Textbox ႔ label
================
Save
Textbox
Label (label )
================
႔
15 C# Programming Myanmar
label ႔ textbox ႕
16 C# Programming Myanmar
႔
Save button
Save button
label1.Text = textBox1.Text;
programming language ႔
႔ ႔ ႔
Variable ႔ Data computer memory (RAM)
Data ႔
data type
program
18 C# Programming Myanmar
MessageBox.Show(number.Tostring());
number MessageBox ႔ ႔ Show() method
Messagebox (string) number
Tostring() method ႔
calculator textbox label
Button
Label
Textbox
Properties
19 C# Programming Myanmar
textbox
code
calculator ႔
၁ textbox ၂
၂ textbox ၂
၃
၄ amount ႔ textbox ၄ ႔
20 C# Programming Myanmar
textbox ႔ textbox ၂
+ double click
txtamount.Text = amount.ToString();
Run
int.Parse();
amount
txtamount.Text=amount.ToString();
ToString() method
21 C# Programming Myanmar
command
/**
int number1 = int.Parse(txtfirstnumber.Text);
int number2 = int.Parse(txtsecondnumber.Text);
int amount = number1 + number2;
txtamount.Text = amount.ToString();
* */
Textbox ႔
22 C# Programming Myanmar
if statement
If statement ႔
=
Programming = assign
23 C# Programming Myanmar
If( )
{
}
Else
{
if ႔ () {}
If ႔ {}
Else ႔ if else
Calculator
Windows form frmcalculator ႔
Textbox
Button 3
24 C# Programming Myanmar
၁ textbox
၂
၃ textbox variable
textbox ႔ )
၅ textbox variable
႔ textbox textbox
-
၁ (click event)
၂ variable (int number= int.Parse(txtresult.Text))
၃ textbox (txtresult.Clear())
၄ (number+int.Parse(txtresult.Text))
႔
btnminus
25 C# Programming Myanmar
== ႔ =
if (myoperator == "+")
{
txtresult.Text = Convert.ToString(number +
int.Parse(txtresult.Text));
}
else if (myoperator == "-")
{
txtresult.Text = Convert.ToString(number -
int.Parse(txtresult.Text));
}
+ button myoperator + ႔
if ႔
myoperator + ႔ number ႔ textbox textbox
႔ + - if
myoperator - ႔ else if
26 C# Programming Myanmar
႔ relational operator
calculator ႕
btnZero ႕ btn ႔ ႔
Textbox txtResult ႔
namespace Calculator
{
public partial class FrmCalculator : Form
{
public FrmCalculator()
{
InitializeComponent();
}
{
txtResult.Text = "0";
}
else
{
txtResult.Text += ".";
}
}
{
txtResult.Text += "3";
}
}
txtResult.Text = "0";
}
string operation;
double num1;