SlideShare a Scribd company logo
*Introduce C# language
*ECMA standard
*originally developed by MSR
*not just Java + C++
*many extensions
*Introduce .NET framework
*future of Windows
*base of Microsoft’s C# implementation
*Teach you to program
*should be very comfortable writing OO code
*we will not cover much if any basic programming
*Introduce object oriented languages
*not even teach you OO style (except wrt C#)
*expected to write all code in OO style
*Give you a detailed grade
*S/U only
*even homework
*Requirements for the course
*come to lecture
*participate
*do three assignments
*Assignments are S/U
*will not be giving a detailed grade
*show me that you understand the concepts, and can
write C# code
*All three assignments will be online soon
*must be completed by the end of the course
*Class time MWF 12:20-1:10
*office hours: W 10:30-12 or by appointment
*tmroeder@cs.cornell.edu (4112 Upson)
*Prerequisites: CS 211/212
*really: experience in OO coding/concepts
*Academic Integrity
*Do not submit work that is not your own
*minimum penalty: U in the course
*Visual C#
*Express: Google “Visual C# Express”
*in Visual Studio: MSDNAA
*must be version 2005: we need C# 2.0
*Mono: http://www.go-mono.com
*Open Source impl for Linux: not quite at 2.0
*Rotor: http://msdn.microsoft.com/net/sscli
*Shared Source impl for Windows (through 2.0)
*Used to work on BSD / OS X, too
*Portable.NET: http://www.dotgnu.org
*yet another open source impl
*CMS: http://cms.csuglab.cornell.edu
*we will use this for homework
*turn on your email notifications!
*Course Webpage:
http://www.cs.cornell.edu/courses/cs215
*will post lectures online
*as well as any errata for the homework
*You all will have accounts
*MSDNAA access: let me know if you don’t
currently have it
*http://www.csuglab.cornell.edu/userinfo.html
*Visual Studio .NET 2005 should be installed there
*You all will have accounts
*MSDNAA access: let me know if you don’t
currently have it
*http://www.csuglab.cornell.edu/userinfo.html
*Visual Studio .NET 2005 should be installed there
*Syllabus (10 more lectures)
*C# constructs: 5 lectures
*Types, Delegates, Generics,
Reflection, Iterators
*.NET Memory Management: 1 lecture
*Topics: 4 lectures
*C# 3.0, Threading, Security, MSIL,
MSH
*Each class will begin with a quiz
*not for credit but for knowledge
*but I will collect them and see what you know
*Today’s quiz will be on prerequisites
*OO programming, mainly to do with Java
*If you don’t know Java, but do have OO
experience, it’s OK
*talk to me after if you have trouble
*A Framework in which to run code
*A Common Language Runtime (CLR)
*runs all programs
*C# compiles to Microsoft Intermediate Language
*MSIL runs on CLR
*Virtual Machine like Java
*code written in many languages compiles to MSIL
*A Common Language Specification (CLS)
*A Common Type System (CTS)
Runtime
Operating System
.NET Framework
Common
Type
System
Common
Language
Runtime
Building Blocks (e.g. for Services)
Services: .NET and COM+
SQL Server BizTalk ...
Languages:
C#, Visual Basic, etc
.NET Applications
Enterprise Servers
...Sharepoint ...
Web Services
Class Loader
MSIL to Native
Compilers (JIT)
Code
Manager
Garbage
Collector (GC)
Security Engine Debug Engine
Type Checker Exception Manager
Thread Support COM Marshaler
Base Class Library Support
*A set of common types
*any language that runs in CLR should implement
*no syntax specified
*Languages often define aliases
*For example
*CTS defines System.Int32 – 4 byte integer
*C# defines int as an alias of System.Int32
www.thinkittraining.in
9566182378

More Related Content

Similar to Intoduction to c# and basics of .net

C# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net FrameworkC# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net Framework
Dr.Neeraj Kumar Pandey
 
LECTURE 1 - Introduction to Programming.pptx
LECTURE 1 - Introduction to Programming.pptxLECTURE 1 - Introduction to Programming.pptx
LECTURE 1 - Introduction to Programming.pptx
AOmaAli
 
Selenium web driver_2.0_presentation
Selenium web driver_2.0_presentationSelenium web driver_2.0_presentation
Selenium web driver_2.0_presentation
sayhi2sudarshan
 
Test Driven Development (TDD) with Windows PowerShell
Test Driven Development (TDD) with Windows PowerShellTest Driven Development (TDD) with Windows PowerShell
Test Driven Development (TDD) with Windows PowerShell
Hemmerling
 
01. introduction to-programming
01. introduction to-programming01. introduction to-programming
01. introduction to-programming
Stoian Kirov
 
Structure of a C# Program
Structure of a C# ProgramStructure of a C# Program
Structure of a C# Program
Ali Hassan
 
Intake 37 1
Intake 37 1Intake 37 1
Intake 37 1
Mahmoud Ouf
 
ASP.NET
ASP.NETASP.NET
01. Introduction to Programming
01. Introduction to Programming01. Introduction to Programming
01. Introduction to Programming
Intro C# Book
 
Linux Developing Stack
Linux Developing StackLinux Developing Stack
Linux Developing Stack
Vicente Bolea
 
ASP.NET Session 3
ASP.NET Session 3ASP.NET Session 3
ASP.NET Session 3Sisir Ghosh
 
What Visual Studio Code can do for Java Development
What Visual Studio Code can do for Java DevelopmentWhat Visual Studio Code can do for Java Development
What Visual Studio Code can do for Java Development
Ed Burns
 
Top 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store appsTop 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store apps
Morten Nielsen
 
Programming
ProgrammingProgramming
Programming
mafffffe19
 

Similar to Intoduction to c# and basics of .net (20)

C#.net
C#.netC#.net
C#.net
 
C# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net FrameworkC# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net Framework
 
LECTURE 1 - Introduction to Programming.pptx
LECTURE 1 - Introduction to Programming.pptxLECTURE 1 - Introduction to Programming.pptx
LECTURE 1 - Introduction to Programming.pptx
 
Selenium web driver_2.0_presentation
Selenium web driver_2.0_presentationSelenium web driver_2.0_presentation
Selenium web driver_2.0_presentation
 
C#.NET
C#.NETC#.NET
C#.NET
 
The windows socket
The windows socketThe windows socket
The windows socket
 
Test Driven Development (TDD) with Windows PowerShell
Test Driven Development (TDD) with Windows PowerShellTest Driven Development (TDD) with Windows PowerShell
Test Driven Development (TDD) with Windows PowerShell
 
01. introduction to-programming
01. introduction to-programming01. introduction to-programming
01. introduction to-programming
 
Structure of a C# Program
Structure of a C# ProgramStructure of a C# Program
Structure of a C# Program
 
Intake 37 1
Intake 37 1Intake 37 1
Intake 37 1
 
ASP.NET
ASP.NETASP.NET
ASP.NET
 
Part i
Part iPart i
Part i
 
01. Introduction to Programming
01. Introduction to Programming01. Introduction to Programming
01. Introduction to Programming
 
Linux Developing Stack
Linux Developing StackLinux Developing Stack
Linux Developing Stack
 
ASP.NET Session 3
ASP.NET Session 3ASP.NET Session 3
ASP.NET Session 3
 
What Visual Studio Code can do for Java Development
What Visual Studio Code can do for Java DevelopmentWhat Visual Studio Code can do for Java Development
What Visual Studio Code can do for Java Development
 
Resume
ResumeResume
Resume
 
Top 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store appsTop 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store apps
 
Programming
ProgrammingProgramming
Programming
 
Intro to .NET and Core C#
Intro to .NET and Core C#Intro to .NET and Core C#
Intro to .NET and Core C#
 

Recently uploaded

Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Ashish Kohli
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
NelTorrente
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Landownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptxLandownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptx
JezreelCabil2
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 

Recently uploaded (20)

Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Landownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptxLandownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 

Intoduction to c# and basics of .net

  • 1.
  • 2. *Introduce C# language *ECMA standard *originally developed by MSR *not just Java + C++ *many extensions *Introduce .NET framework *future of Windows *base of Microsoft’s C# implementation
  • 3. *Teach you to program *should be very comfortable writing OO code *we will not cover much if any basic programming *Introduce object oriented languages *not even teach you OO style (except wrt C#) *expected to write all code in OO style *Give you a detailed grade *S/U only *even homework
  • 4. *Requirements for the course *come to lecture *participate *do three assignments *Assignments are S/U *will not be giving a detailed grade *show me that you understand the concepts, and can write C# code *All three assignments will be online soon *must be completed by the end of the course
  • 5. *Class time MWF 12:20-1:10 *office hours: W 10:30-12 or by appointment *tmroeder@cs.cornell.edu (4112 Upson) *Prerequisites: CS 211/212 *really: experience in OO coding/concepts *Academic Integrity *Do not submit work that is not your own *minimum penalty: U in the course
  • 6. *Visual C# *Express: Google “Visual C# Express” *in Visual Studio: MSDNAA *must be version 2005: we need C# 2.0 *Mono: http://www.go-mono.com *Open Source impl for Linux: not quite at 2.0 *Rotor: http://msdn.microsoft.com/net/sscli *Shared Source impl for Windows (through 2.0) *Used to work on BSD / OS X, too
  • 7. *Portable.NET: http://www.dotgnu.org *yet another open source impl *CMS: http://cms.csuglab.cornell.edu *we will use this for homework *turn on your email notifications! *Course Webpage: http://www.cs.cornell.edu/courses/cs215 *will post lectures online *as well as any errata for the homework
  • 8. *You all will have accounts *MSDNAA access: let me know if you don’t currently have it *http://www.csuglab.cornell.edu/userinfo.html *Visual Studio .NET 2005 should be installed there
  • 9. *You all will have accounts *MSDNAA access: let me know if you don’t currently have it *http://www.csuglab.cornell.edu/userinfo.html *Visual Studio .NET 2005 should be installed there
  • 10. *Syllabus (10 more lectures) *C# constructs: 5 lectures *Types, Delegates, Generics, Reflection, Iterators *.NET Memory Management: 1 lecture *Topics: 4 lectures *C# 3.0, Threading, Security, MSIL, MSH
  • 11. *Each class will begin with a quiz *not for credit but for knowledge *but I will collect them and see what you know *Today’s quiz will be on prerequisites *OO programming, mainly to do with Java *If you don’t know Java, but do have OO experience, it’s OK *talk to me after if you have trouble
  • 12. *A Framework in which to run code *A Common Language Runtime (CLR) *runs all programs *C# compiles to Microsoft Intermediate Language *MSIL runs on CLR *Virtual Machine like Java *code written in many languages compiles to MSIL *A Common Language Specification (CLS) *A Common Type System (CTS)
  • 13. Runtime Operating System .NET Framework Common Type System Common Language Runtime Building Blocks (e.g. for Services) Services: .NET and COM+ SQL Server BizTalk ... Languages: C#, Visual Basic, etc .NET Applications Enterprise Servers ...Sharepoint ... Web Services
  • 14. Class Loader MSIL to Native Compilers (JIT) Code Manager Garbage Collector (GC) Security Engine Debug Engine Type Checker Exception Manager Thread Support COM Marshaler Base Class Library Support
  • 15. *A set of common types *any language that runs in CLR should implement *no syntax specified *Languages often define aliases *For example *CTS defines System.Int32 – 4 byte integer *C# defines int as an alias of System.Int32