Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
More on C#
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Ram Sapkota
October 25, 2018
0
180
More on C#
Ram Sapkota
October 25, 2018
Tweet
Share
More Decks by Ram Sapkota
See All by Ram Sapkota
Static Class Attributes and Inheritance
codemasterram
2
160
Class & Object
codemasterram
0
110
Part 3: More on C#
codemasterram
0
60
HTML & CSS: Lesson 2.2
codemasterram
1
82
Introduction to C#
codemasterram
1
57
HTML___CSS__Lesson_2.1.pdf
codemasterram
0
62
Basic Concept on HTML and CSS
codemasterram
1
67
Introduction_class_slide.pdf
codemasterram
0
50
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
ラッコキーワード サービス紹介資料
rakko
1
2.2M
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Producing Creativity
orderedlist
PRO
348
40k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.8k
Visualization
eitanlees
150
17k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
63
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
Transcript
Variables in C# It’s a container where you can
store a specific data value.
Data Types - In common String ,Char, Int, Double
, bool DateTime
String manipulation
Something More
Now, lets interact!!
Type conversions ToBoolean ToByte ToChar ToDateTime
ToDecimal ToDouble ToInt16 ToInt32 ToString
Exercise : Make a basic calculator Input two numbers
from user and perform addition and subtraction. If possible add decimal number with a normal number.
Mad Libs Game
Array
Methods It is a block of code where we
preform a specific task.
Something Interesting to deal with Signature of method
Method overloading Params modifiers
Signature of method Name Number and Type of
parameters
Overloading methods Having a method with same name but
with different signatures
None
The params modifier
Exercise Create a program to print cube of any
number
Conditional operator And Or Not equals
Equals Greater than, less than Greater than and equals to Less than and equals to And their meaningful use
If Statement
If else statement
If else if
Exercise Write a program to two numbers from user
and display the max number.
Exercise Write a program to input marks of 5
different subjects as Math, Science, English, Nepali and Computer assuming their full marks is 100. Also calculate percentage obtained and division earned.
Switch Statement
While Loop