C# basics

Dinesh kumar
Dinesh kumarWeb designer em First planet
  Basics of C# 2008 .NET 3.0/3.5
Session Objectives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Basic Structure of C# Program ,[object Object]
Getting Command-Line Input ,[object Object],[object Object],[object Object],[object Object]
Interactive via Command Line ,[object Object],[object Object],[object Object]
Object Oriented Programming Fundamentals ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Console Application in VS 2008 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Basics ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Integer Types Name CTS Type Description sbyte System.Sbyte 8-bit signed integer short  System.Int16 16-bit signed integer int  System.Int32 32-bit signed integer long System.Int64 64-bit signed integer byte  System.Byte 8-bit unsigned integer ushort  System.UInt16 16-bit unsigned integer uint  System.UInt32 32-bit unsigned integer ulong System.UInt64 64-bit unsigned integer
Floating-Point Types Name CTS Type Description float  System.Single 32-bit single-precision floating point double  System.Double 64-bit double precision floating point
Decimal Type Name CTS Type Description decimal  System.Decimal 128-bit high precision decimal notation
Boolean Type ,[object Object]
Character Type Name CTS Type Description char  System.Char 16-bit Unicode character
Escape Sequences Escape Sequence Character  Single quotation mark  Double quotation mark  Backslash  Null  Alert  Backspace  Form feed   New line  Carriage return  Tab character  Vertial tab
Predefined Reference Types Name CTS Type Description object  System.Object The root type string  System.String Unicode character string
Object Type
Methods of Object Type ,[object Object],[object Object],[object Object],[object Object]
The string Type
Operators in C# ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Operators in C# (contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
checked operator ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
unchecked operator ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
is operator ,[object Object],[object Object],[object Object],[object Object],[object Object]
as operator ,[object Object],[object Object],[object Object]
sizeof operator ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
typeof operator ,[object Object],[object Object],[object Object]
Type Conversions ,[object Object],[object Object]
Boxing and Unboxing
Flow Control ,[object Object],[object Object],[object Object]
Conditional Statements ,[object Object],[object Object],[object Object],[object Object]
Loops ,[object Object],[object Object],[object Object],[object Object]
Jump Statements ,[object Object],[object Object],[object Object],[object Object]
Enumerations ,[object Object],[object Object]
Arrays
Namespaces
using Statement
More on Compiling Options Option Output /t:exe A console application (default) /t:library A class library with manifest /t:module A component without a manifest /t:winexe A windows application (without a console window)
Console I/O ,[object Object],[object Object],[object Object],[object Object]
Using Comments ,[object Object],[object Object],[object Object],[object Object],[object Object]
1 de 39

Recomendados

C# in depth por
C# in depthC# in depth
C# in depthArnon Axelrod
1.2K visualizações126 slides
C# Basics por
C# BasicsC# Basics
C# BasicsSunil OS
481.5K visualizações43 slides
Introduction To C# por
Introduction To C#Introduction To C#
Introduction To C#SAMIR BHOGAYTA
5.1K visualizações119 slides
Introduction to c# por
Introduction to c#Introduction to c#
Introduction to c#OpenSource Technologies Pvt. Ltd.
9.8K visualizações28 slides
CSharp Presentation por
CSharp PresentationCSharp Presentation
CSharp PresentationVishwa Mohan
12.1K visualizações113 slides
C# - Part 1 por
C# - Part 1C# - Part 1
C# - Part 1Md. Mahedee Hasan
3.5K visualizações114 slides

Mais conteúdo relacionado

Mais procurados

C presentation book por
C presentation bookC presentation book
C presentation bookkrunal1210
5.2K visualizações260 slides
C# Tutorial por
C# Tutorial C# Tutorial
C# Tutorial Jm Ramos
14.4K visualizações15 slides
Oops concept on c# por
Oops concept on c#Oops concept on c#
Oops concept on c#baabtra.com - No. 1 supplier of quality freshers
24.8K visualizações27 slides
Java String Handling por
Java String HandlingJava String Handling
Java String HandlingInfoviaan Technologies
254 visualizações23 slides
C# 101: Intro to Programming with C# por
C# 101: Intro to Programming with C#C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#Hawkman Academy
16.6K visualizações71 slides
Object Oriented Programming with C# por
Object Oriented Programming with C#Object Oriented Programming with C#
Object Oriented Programming with C#foreverredpb
3.4K visualizações20 slides

Mais procurados(20)

C presentation book por krunal1210
C presentation bookC presentation book
C presentation book
krunal12105.2K visualizações
C# Tutorial por Jm Ramos
C# Tutorial C# Tutorial
C# Tutorial
Jm Ramos14.4K visualizações
C# 101: Intro to Programming with C# por Hawkman Academy
C# 101: Intro to Programming with C#C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#
Hawkman Academy16.6K visualizações
Object Oriented Programming with C# por foreverredpb
Object Oriented Programming with C#Object Oriented Programming with C#
Object Oriented Programming with C#
foreverredpb3.4K visualizações
C#.NET por gurchet
C#.NETC#.NET
C#.NET
gurchet 35.3K visualizações
Basic Concepts of OOPs (Object Oriented Programming in Java) por Michelle Anne Meralpis
Basic Concepts of OOPs (Object Oriented Programming in Java)Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)
Michelle Anne Meralpis9.7K visualizações
C# programming language por swarnapatil
C# programming languageC# programming language
C# programming language
swarnapatil4.7K visualizações
Introduction to .NET Framework por Raghuveer Guthikonda
Introduction to .NET FrameworkIntroduction to .NET Framework
Introduction to .NET Framework
Raghuveer Guthikonda16.9K visualizações
Inheritance in c++ por Vishal Patil
Inheritance in c++Inheritance in c++
Inheritance in c++
Vishal Patil1.7K visualizações
7.data types in c# por Zeeshan Ahmad
7.data types in c#7.data types in c#
7.data types in c#
Zeeshan Ahmad4.1K visualizações
Javascript variables and datatypes por Varun C M
Javascript variables and datatypesJavascript variables and datatypes
Javascript variables and datatypes
Varun C M3.5K visualizações
C# lecture 2: Literals , Variables and Data Types in C# por Dr.Neeraj Kumar Pandey
C# lecture 2: Literals , Variables and Data Types in C#C# lecture 2: Literals , Variables and Data Types in C#
C# lecture 2: Literals , Variables and Data Types in C#
Dr.Neeraj Kumar Pandey916 visualizações
Introduction To Dotnet por SAMIR BHOGAYTA
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
SAMIR BHOGAYTA63.1K visualizações
Constructor in java por SIVASHANKARIRAJAN
Constructor in javaConstructor in java
Constructor in java
SIVASHANKARIRAJAN250 visualizações
Visula C# Programming Lecture 1 por Abou Bakr Ashraf
Visula C# Programming Lecture 1Visula C# Programming Lecture 1
Visula C# Programming Lecture 1
Abou Bakr Ashraf2.7K visualizações
Collections and its types in C# (with examples) por Aijaz Ali Abro
Collections and its types in C# (with examples)Collections and its types in C# (with examples)
Collections and its types in C# (with examples)
Aijaz Ali Abro2.1K visualizações

Similar a C# basics

Getting started with C# Programming por
Getting started with C# ProgrammingGetting started with C# Programming
Getting started with C# ProgrammingBhushan Mulmule
1.1K visualizações36 slides
CSharp Language Overview Part 1 por
CSharp Language Overview Part 1CSharp Language Overview Part 1
CSharp Language Overview Part 1Hossein Zahed
1.8K visualizações126 slides
CSharpCheatSheetV1.pdf por
CSharpCheatSheetV1.pdfCSharpCheatSheetV1.pdf
CSharpCheatSheetV1.pdfssusera0bb35
37 visualizações12 slides
devLink - What's New in C# 4? por
devLink - What's New in C# 4?devLink - What's New in C# 4?
devLink - What's New in C# 4?Kevin Pilch
343 visualizações25 slides
Csharp4 basics por
Csharp4 basicsCsharp4 basics
Csharp4 basicsAbed Bukhari
1.7K visualizações66 slides
02. Primitive Data Types and Variables por
02. Primitive Data Types and Variables02. Primitive Data Types and Variables
02. Primitive Data Types and VariablesIntro C# Book
38K visualizações69 slides

Similar a C# basics(20)

Getting started with C# Programming por Bhushan Mulmule
Getting started with C# ProgrammingGetting started with C# Programming
Getting started with C# Programming
Bhushan Mulmule1.1K visualizações
CSharp Language Overview Part 1 por Hossein Zahed
CSharp Language Overview Part 1CSharp Language Overview Part 1
CSharp Language Overview Part 1
Hossein Zahed1.8K visualizações
CSharpCheatSheetV1.pdf por ssusera0bb35
CSharpCheatSheetV1.pdfCSharpCheatSheetV1.pdf
CSharpCheatSheetV1.pdf
ssusera0bb3537 visualizações
devLink - What's New in C# 4? por Kevin Pilch
devLink - What's New in C# 4?devLink - What's New in C# 4?
devLink - What's New in C# 4?
Kevin Pilch343 visualizações
Csharp4 basics por Abed Bukhari
Csharp4 basicsCsharp4 basics
Csharp4 basics
Abed Bukhari1.7K visualizações
02. Primitive Data Types and Variables por Intro C# Book
02. Primitive Data Types and Variables02. Primitive Data Types and Variables
02. Primitive Data Types and Variables
Intro C# Book38K visualizações
C# Language Overview Part I por Doncho Minkov
C# Language Overview Part IC# Language Overview Part I
C# Language Overview Part I
Doncho Minkov1.4K visualizações
Linq intro por Bình Trọng Án
Linq introLinq intro
Linq intro
Bình Trọng Án2.3K visualizações
04. Console Input Output por Intro C# Book
04. Console Input Output 04. Console Input Output
04. Console Input Output
Intro C# Book24.8K visualizações
C traps and pitfalls for C++ programmers por Richard Thomson
C traps and pitfalls for C++ programmersC traps and pitfalls for C++ programmers
C traps and pitfalls for C++ programmers
Richard Thomson6.3K visualizações
PostThis por testingphase
PostThisPostThis
PostThis
testingphase626 visualizações
Esoft Metro Campus - Certificate in c / c++ programming por Rasan Samarasinghe
Esoft Metro Campus - Certificate in c / c++ programmingEsoft Metro Campus - Certificate in c / c++ programming
Esoft Metro Campus - Certificate in c / c++ programming
Rasan Samarasinghe1.3K visualizações
C# overview part 1 por sagaroceanic11
C# overview part 1C# overview part 1
C# overview part 1
sagaroceanic111.5K visualizações
Introduction to c sharp 4.0 and dynamic por Gieno Miao
Introduction to c sharp 4.0 and dynamicIntroduction to c sharp 4.0 and dynamic
Introduction to c sharp 4.0 and dynamic
Gieno Miao2.1K visualizações
C# por Sudhriti Gupta
C#C#
C#
Sudhriti Gupta101 visualizações
Cpprm por Shawne Lee
CpprmCpprm
Cpprm
Shawne Lee449 visualizações
IntroductionToCSharp.ppt por RishikaRuhela
IntroductionToCSharp.pptIntroductionToCSharp.ppt
IntroductionToCSharp.ppt
RishikaRuhela3 visualizações
IntroductionToCSharp.ppt por ReemaAsker1
IntroductionToCSharp.pptIntroductionToCSharp.ppt
IntroductionToCSharp.ppt
ReemaAsker11 visão
IntroductionToCSharp.ppt por ReemaAsker1
IntroductionToCSharp.pptIntroductionToCSharp.ppt
IntroductionToCSharp.ppt
ReemaAsker12 visualizações

Mais de Dinesh kumar

Cv por
CvCv
CvDinesh kumar
581 visualizações2 slides
Dinesh cv por
Dinesh cvDinesh cv
Dinesh cvDinesh kumar
415 visualizações3 slides
Dinesh cv por
Dinesh cvDinesh cv
Dinesh cvDinesh kumar
383 visualizações3 slides
Data management with ado por
Data management with adoData management with ado
Data management with adoDinesh kumar
2.1K visualizações16 slides
Asp.net por
 Asp.net Asp.net
Asp.netDinesh kumar
7.8K visualizações16 slides
My resume por
My resumeMy resume
My resumeDinesh kumar
506 visualizações4 slides

Mais de Dinesh kumar(11)

Cv por Dinesh kumar
CvCv
Cv
Dinesh kumar581 visualizações
Dinesh cv por Dinesh kumar
Dinesh cvDinesh cv
Dinesh cv
Dinesh kumar415 visualizações
Dinesh cv por Dinesh kumar
Dinesh cvDinesh cv
Dinesh cv
Dinesh kumar383 visualizações
Data management with ado por Dinesh kumar
Data management with adoData management with ado
Data management with ado
Dinesh kumar2.1K visualizações
Asp.net por Dinesh kumar
 Asp.net Asp.net
Asp.net
Dinesh kumar7.8K visualizações
My resume por Dinesh kumar
My resumeMy resume
My resume
Dinesh kumar506 visualizações
Dinesh ppt -windows 7 por Dinesh kumar
Dinesh ppt -windows 7Dinesh ppt -windows 7
Dinesh ppt -windows 7
Dinesh kumar479 visualizações
Functional specs por Dinesh kumar
Functional specsFunctional specs
Functional specs
Dinesh kumar2.4K visualizações
Screen shots por Dinesh kumar
Screen shotsScreen shots
Screen shots
Dinesh kumar245 visualizações
technology@web por Dinesh kumar
technology@webtechnology@web
technology@web
Dinesh kumar203 visualizações
Web2 0 por Dinesh kumar
Web2 0Web2 0
Web2 0
Dinesh kumar182 visualizações

C# basics

  • 1. Basics of C# 2008 .NET 3.0/3.5
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. Integer Types Name CTS Type Description sbyte System.Sbyte 8-bit signed integer short System.Int16 16-bit signed integer int System.Int32 32-bit signed integer long System.Int64 64-bit signed integer byte System.Byte 8-bit unsigned integer ushort System.UInt16 16-bit unsigned integer uint System.UInt32 32-bit unsigned integer ulong System.UInt64 64-bit unsigned integer
  • 10. Floating-Point Types Name CTS Type Description float System.Single 32-bit single-precision floating point double System.Double 64-bit double precision floating point
  • 11. Decimal Type Name CTS Type Description decimal System.Decimal 128-bit high precision decimal notation
  • 12.
  • 13. Character Type Name CTS Type Description char System.Char 16-bit Unicode character
  • 14. Escape Sequences Escape Sequence Character Single quotation mark Double quotation mark Backslash Null Alert Backspace Form feed New line Carriage return Tab character Vertial tab
  • 15. Predefined Reference Types Name CTS Type Description object System.Object The root type string System.String Unicode character string
  • 17.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 37. More on Compiling Options Option Output /t:exe A console application (default) /t:library A class library with manifest /t:module A component without a manifest /t:winexe A windows application (without a console window)
  • 38.
  • 39.