C# Basics Day 1
C# Basics Day 1
programming
01 Software Definitions
TABLE OF
CONTENTS
02 The Creation of C#
01
Software
Definitions
Problem Process Solution
Problem Process Solution
(Programming)
Real World
Hardware
Physical Component
Only knows (on\off)
(0V : 5V)
(Binary System)
Real World
Hardware Software
Physical Component Instructions
Only knows (on\off) Tells hardware What to
(0V : 5V) do and how to do.
(Binary System)
The difference between:
★ user Documentation
★ Technical Documentation
★ Marketing Documentation
Documentation
Generic Customized
Software Types
Generic Customized
Web Application
Google
Has GUI
Application Types
Mobile Application
Facebook Mobile
Has GUI
Console Application
Black Screen
Has no GUI
Application Types
Middle .NET
C# 2002
2000 Family
The C# family tree
Computer deals with 0,1
Hardware Software
Physical Component Instructions
Only knows (on\off) Tells hardware What to
(0V : 5V) do and how to do.
(Binary System)
Binary
System
Numbers for the
hardware to
understand
Decimal
System
Numbers that we know
Decimal VS Binary numbers
Bit and Byte
Data Storage
ROM
SSD - HDD
RAM
Volatile
Fast
ROM
Permanent
Slow
Computer Storage Hierarchy
Computer Keyboard
ASCII(American Standard Code for Information Interchange) Code
Extended
ASCII
Data Type C# is Strongly Typed
● Size in memory
● Operation on variable
● Validation on Value
.Net Framework (System) Bytes
C# Type Signed? Possible Values
type Occupied
float System.Single Yes 4 Approximately ±1.5 x 10-45 to ±3.4 x 1038 with 7 significant figures
double System.Double Yes 8 Approximately ±5.0 x 10-324 to ±1.7 x 10308 with 15 or 16 significant figures
decimal System.Decimal Yes 12 Approximately ±1.0 x 10-28 to ±7.9 x 1028 with 28 or 29 significant figures