SlideShare a Scribd company logo
Section: BS in Information Technology - 2A
Day: SAT
Time: 9:00-12:00
Instructor: Percival A. Fernandez, MSIT
C# HISTORY
• C# is pronounced as "C-Sharp". It is an object-
oriented programming language provided
by Microsoft that runs on .Net Framework.
• It is based on C++ and Java, but it has many
additional extensions used to perform
component oriented programming approach.
• C# has evolved much since their first release in
the year 2002. It was introduced with .NET
Framework 1.0 and the current version of C# is
5.0.
• Anders Hejlsberg is known as the founder of C#
language.
C# HISTORY
WHAT IS C#?
• C# is pronounced "C-Sharp".
• It is an object-oriented programming language created by
Microsoft that runs on the .NET Framework.
• C# has roots from the C family, and the language is close to
other popular languages like C++ and Java.
• The first version was released in year 2002. The latest
version, C# 8, was released in September 2019.
WHAT IS C#?
 C# is used for:
• Mobile applications
• Desktop applications
• Web applications
• Web services
• Web sites
• Games
• VR
• Database applications
• And much, much more!
WHY USE C#?
• It is one of the most popular programming language in the world
• It is easy to learn and simple to use
• It has a huge community support
• C# is an object oriented language which gives a clear structure to
programs and allows code to be reused, lowering development
costs.
• As C# is close to C, C++ and Java, it makes it easy for
programmers to switch to C# or vice versa
WHY USE C#?
• C# has many other reasons for being popular and in demand.
Few of the reasons are mentioned below:
• Easy to Start: C# is a high-level language so it is closer to
other popular programming languages like C, C++, and Java
and thus becomes easy to learn for anyone.
• Widely used for developing Desktop and Web Application: C#
is widely used for developing web applications and Desktop
applications. It is one of the most popular languages that is
used in professional desktop. If anyone wants to create
Microsoft apps, C# is their first choice.
WHY USE C#?
• Community: The larger the community the better it is as new
tools and software will be developing to make it better. C#
has a large community so the developments are done to make
it exist in the system and not become extinct.
• Game Development: C# is widely used in game development
and will continue to dominate. C# integrates with Microsoft
and thus has a large target audience. The C# features such as
Automatic Garbage Collection, interfaces, object-oriented,
etc. make C# a popular game developing language.
WHY USE C#?
C# FEATURES
C# is object oriented programming language. It provides a lot
of features that are given below.
1.Simple
2.Modern programming language
3.Object oriented
4.Type safe
5.Interoperability
6.Scalable and Updateable
7.Component oriented
8.Structured programming language
9.Rich Library
10.Fast speed
C# FEATURES
C# FEATURES
1) Simple
C# is a simple language in the sense that it provides structured
approach (to break the problem into parts), rich set of library
functions, data types etc.
2) Modern Programming Language
C# programming is based upon the current trend and it is very
powerful and simple for building scalable, interoperable and
robust applications.
3) Object Oriented
C# is object oriented programming language. OOPs makes
development and maintenance easier where as in Procedure-
oriented programming language it is not easy to manage if code
C# FEATURES
4) Type Safe
C# type safe code can only access the memory location that it
has permission to execute. Therefore it improves a security of the
program.
5) Interoperability
Interoperability process enables the C# programs to do almost
anything that a native C++ application can do.
6) Scalable and Updateable
C# is automatic scalable and updateable programming
language. For updating our application we delete the old files and
update them with new ones.
C# FEATURES
7) Component Oriented
C# is component oriented programming language. It is the
predominant software development methodology used to develop
more robust and highly scalable applications.
8) Structured Programming Language
C# is a structured programming language in the sense that we
can break the program into parts using functions. So, it is easy to
understand and modify.
9) Rich Library
C# provides a lot of inbuilt functions that makes the
development fast.
10) Fast Speed
The compilation and execution time of C# language is fast.
.NET FRAMEWORK & ITS COMPONENTS
• .NET is a software framework that is designed and developed by
Microsoft.
• It is a virtual machine for compiling and executing programs
written in different languages like C#, VB.Net, etc.
• It is used to develop Form-based applications, Web-based
applications, and Web services. The first version of the .NET
framework was 1.0 which came in the year 2002 and the current
version is 4.7.1.
• .NET Framework supports more than 60 programming languages
in which C# and VB.Net are main programming languages.
.NET FRAMEWORK & ITS COMPONENTS
.NET FRAMEWORK & ITS COMPONENTS
 1. Common Language Runtime(CLR):
• CLR is the basic and Virtual Machine component of the
.NET Framework.
• It is the run-time environment in the .NET Framework that
runs the codes and helps in making the development
process easier.
• It is responsible for managing the execution of .NET
programs regardless of any .NET programming language.
• It also helps in the management of code, as code that
targets the runtime is known as the Managed Code and
code doesn’t target to runtime is known as Unmanaged
code.
.NET FRAMEWORK & ITS COMPONENTS
 2. Framework Class Library(FCL):
• It is the collection of reusable, object-oriented class libraries
and methods, etc that can be integrated with CLR.
• Also called the Assemblies. It is just like the header files in
C/C++ and packages in the java.
• Installing .NET framework basically is the installation of CLR
and FCL into the system.
.NET FRAMEWORK & ITS COMPONENTS
 3. Common Intermediate Language:
• It is a set of instructions that are platform-independent and
are generated by the language-specific compiler from the
source code.
• It is also known as the Microsoft Intermediate Language
(MSIL).
.NET FRAMEWORK & ITS COMPONENTS
 4. Garbage Collector(GC):
• Automatic memory management is made possible by Garbage
Collection in .NET Framework.
• When a class object is created at runtime, certain memory
space is allocated to it in the heap memory.
• However, after all the actions related to the object are
completed in the program, the memory space allocated to it is
a waste as it cannot be used. In this case, garbage collection
is very useful as it automatically releases the memory space
after it is no longer required.
• Garbage collection will always work on Managed Heap and
internally it has an Engine which is known as the Optimization
.NET FRAMEWORK & ITS COMPONENTS
 5. Just-In-Time(JIT) Compiler:
• Just-In-Time compiler(JIT) is a part of Common Language
Runtime (CLR) in .NET which is responsible for managing the
execution of .NET programs regardless of any .NET
programming language.
• A language-specific compiler converts the source code to the
intermediate language.
• This intermediate language is then converted into the machine
code by the Just-In-Time (JIT) compiler. This machine code is
specific to the computer environment that the JIT compiler
runs on.
.NET FRAMEWORK & ITS COMPONENTS
 6. Managed Code:
• A code that is written to aimed to get the services of the
managed runtime environment execution like CLR(Common
Language Runtime) in .NET Framework is known as Managed
Code.
• It always implemented by the managed runtime environment
instead of directly executed by the operating system.
.NET FRAMEWORK & ITS COMPONENTS
 7. Unmanaged Code:
• A code that is directly executed by the operating system is
known as Unmanaged code.
• It always aimed at the processor architecture and depends
upon computer architecture.
• When this code is compiled it always tends to get a specific
architecture and always runs on that platform.
VISUAL STUDIO
• Visual Studio is an Integrated Development Environment(IDE)
developed by Microsoft to develop GUI(Graphical User Interface),
console, Web applications, web apps, mobile apps, cloud, and
web services, etc.
• With the help of this IDE, you can create managed code as well as
native code. It uses the various platforms of Microsoft software
development software like Windows store, Microsoft Silverlight,
and Windows API, etc. It is not a language-specific IDE as you can
use this to write code in C#, C++, VB(Visual Basic), Python,
JavaScript, and many more languages.
• It provides support for 36 different programming languages. It is
available for Windows as well as for macOS.
C# IDE
• The easiest way to get started with C#, is to use an IDE.
• An IDE (Integrated Development Environment) is used to edit and
compile code.
• In our tutorial, we will use Visual Studio Community, which is free
to download
from https://visualstudio.microsoft.com/vs/community/.
• Applications written in C# use the .NET Framework, so it makes
sense to use Visual Studio, as the program, the framework, and
the language, are all created by Microsoft.
REFERENCES:
• https://www.geeksforgeeks.org/c-sharp-tutorial/
• https://www.w3schools.com/cs/cs_intro.php
• https://www.pluralsight.com/paths/csharp
• https://www.javatpoint.com/csharp-history

More Related Content

What's hot

Object-oriented Programming-with C#
Object-oriented Programming-with C#Object-oriented Programming-with C#
Object-oriented Programming-with C#Doncho Minkov
 
Introduction to C# Programming
Introduction to C# ProgrammingIntroduction to C# Programming
Introduction to C# Programming
Sherwin Banaag Sapin
 
C# in depth
C# in depthC# in depth
C# in depth
Arnon Axelrod
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishSvetlin Nakov
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#rahulsahay19
 
[OOP - Lec 01] Introduction to OOP
[OOP - Lec 01] Introduction to OOP[OOP - Lec 01] Introduction to OOP
[OOP - Lec 01] Introduction to OOP
Muhammad Hammad Waseem
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net frameworkAshish Verma
 
Java database connectivity with MYSQL
Java database connectivity with MYSQLJava database connectivity with MYSQL
Java database connectivity with MYSQL
Adil Mehmoood
 
C# Exceptions Handling
C# Exceptions Handling C# Exceptions Handling
C# Exceptions Handling
sharqiyem
 
Procedures functions structures in VB.Net
Procedures  functions  structures in VB.NetProcedures  functions  structures in VB.Net
Procedures functions structures in VB.Net
tjunicornfx
 
Visual Basic IDE Introduction
Visual Basic IDE IntroductionVisual Basic IDE Introduction
Visual Basic IDE Introduction
Ahllen Javier
 
Windowforms controls c#
Windowforms controls c#Windowforms controls c#
Windowforms controls c#
prabhu rajendran
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture
AqsaHayat3
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
Arun Prasad
 
dot net technology
dot net technologydot net technology
dot net technology
Imran Khan
 
.Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1).Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1)Rishi Kothari
 

What's hot (20)

Object-oriented Programming-with C#
Object-oriented Programming-with C#Object-oriented Programming-with C#
Object-oriented Programming-with C#
 
Introduction to C# Programming
Introduction to C# ProgrammingIntroduction to C# Programming
Introduction to C# Programming
 
C# in depth
C# in depthC# in depth
C# in depth
 
ASP.NET Web form
ASP.NET Web formASP.NET Web form
ASP.NET Web form
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
 
Vb.net ide
Vb.net ideVb.net ide
Vb.net ide
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#
 
[OOP - Lec 01] Introduction to OOP
[OOP - Lec 01] Introduction to OOP[OOP - Lec 01] Introduction to OOP
[OOP - Lec 01] Introduction to OOP
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
 
C sharp
C sharpC sharp
C sharp
 
Java database connectivity with MYSQL
Java database connectivity with MYSQLJava database connectivity with MYSQL
Java database connectivity with MYSQL
 
Programming in c#
Programming in c#Programming in c#
Programming in c#
 
C# Exceptions Handling
C# Exceptions Handling C# Exceptions Handling
C# Exceptions Handling
 
Procedures functions structures in VB.Net
Procedures  functions  structures in VB.NetProcedures  functions  structures in VB.Net
Procedures functions structures in VB.Net
 
Visual Basic IDE Introduction
Visual Basic IDE IntroductionVisual Basic IDE Introduction
Visual Basic IDE Introduction
 
Windowforms controls c#
Windowforms controls c#Windowforms controls c#
Windowforms controls c#
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
 
dot net technology
dot net technologydot net technology
dot net technology
 
.Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1).Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1)
 

Similar to Advance C# Programming Part 1.pptx

C# vs Java What are The Differences.pdf
C# vs Java What are The Differences.pdfC# vs Java What are The Differences.pdf
C# vs Java What are The Differences.pdf
christiemarie4
 
DotNet Fundamentals
DotNet FundamentalsDotNet Fundamentals
DotNet Fundamentals
Majdi SAIBI
 
Top 10 programming languages
Top 10 programming languagesTop 10 programming languages
Top 10 programming languages
Aman Kumar
 
programming in c#.ppt
programming in c#.pptprogramming in c#.ppt
programming in c#.ppt
NalinaKumari2
 
C# handout.docx
C# handout.docxC# handout.docx
C# handout.docx
LenchoMamudeBaro
 
Top Programming Languages of 2020
Top Programming Languages of 2020Top Programming Languages of 2020
Top Programming Languages of 2020
Ikbal Ahmed
 
Programming language
Programming languageProgramming language
Programming language
MalayKalavadia
 
Event Driven Programming in C#.docx
Event Driven Programming in C#.docxEvent Driven Programming in C#.docx
Event Driven Programming in C#.docx
LenchoMamudeBaro
 
Top programming Languages in software Industry companies
Top programming Languages in software Industry companiesTop programming Languages in software Industry companies
Top programming Languages in software Industry companies
Kiran Patil
 
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptxLearn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
GaytriMate
 
Session i
Session iSession i
Session i
DrUjwala1
 
Programming landuages
Programming landuagesProgramming landuages
Programming landuages
NataliaVasjuka
 
Dotnet1
Dotnet1Dotnet1
Ten compelling reasons to learn .net framework
Ten compelling reasons to learn .net frameworkTen compelling reasons to learn .net framework
Ten compelling reasons to learn .net framework
JanBask Training
 
Modified.net overview
Modified.net overviewModified.net overview
Modified.net overviewFaisal Aziz
 
Programming with c#
Programming with c#Programming with c#
Programming with c#
Luis Goldster
 
.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptx.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptx
EllenGracePorras
 
c vs java (2).pptx
c vs java (2).pptxc vs java (2).pptx
c vs java (2).pptx
AmitSingh770691
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
Tanveer Malik
 

Similar to Advance C# Programming Part 1.pptx (20)

C# vs Java What are The Differences.pdf
C# vs Java What are The Differences.pdfC# vs Java What are The Differences.pdf
C# vs Java What are The Differences.pdf
 
DotNet Fundamentals
DotNet FundamentalsDotNet Fundamentals
DotNet Fundamentals
 
Top 10 programming languages
Top 10 programming languagesTop 10 programming languages
Top 10 programming languages
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
programming in c#.ppt
programming in c#.pptprogramming in c#.ppt
programming in c#.ppt
 
C# handout.docx
C# handout.docxC# handout.docx
C# handout.docx
 
Top Programming Languages of 2020
Top Programming Languages of 2020Top Programming Languages of 2020
Top Programming Languages of 2020
 
Programming language
Programming languageProgramming language
Programming language
 
Event Driven Programming in C#.docx
Event Driven Programming in C#.docxEvent Driven Programming in C#.docx
Event Driven Programming in C#.docx
 
Top programming Languages in software Industry companies
Top programming Languages in software Industry companiesTop programming Languages in software Industry companies
Top programming Languages in software Industry companies
 
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptxLearn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
 
Session i
Session iSession i
Session i
 
Programming landuages
Programming landuagesProgramming landuages
Programming landuages
 
Dotnet1
Dotnet1Dotnet1
Dotnet1
 
Ten compelling reasons to learn .net framework
Ten compelling reasons to learn .net frameworkTen compelling reasons to learn .net framework
Ten compelling reasons to learn .net framework
 
Modified.net overview
Modified.net overviewModified.net overview
Modified.net overview
 
Programming with c#
Programming with c#Programming with c#
Programming with c#
 
.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptx.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptx
 
c vs java (2).pptx
c vs java (2).pptxc vs java (2).pptx
c vs java (2).pptx
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 

Recently uploaded

MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 

Recently uploaded (20)

MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 

Advance C# Programming Part 1.pptx

  • 1. Section: BS in Information Technology - 2A Day: SAT Time: 9:00-12:00 Instructor: Percival A. Fernandez, MSIT
  • 2.
  • 3. C# HISTORY • C# is pronounced as "C-Sharp". It is an object- oriented programming language provided by Microsoft that runs on .Net Framework. • It is based on C++ and Java, but it has many additional extensions used to perform component oriented programming approach. • C# has evolved much since their first release in the year 2002. It was introduced with .NET Framework 1.0 and the current version of C# is 5.0. • Anders Hejlsberg is known as the founder of C# language.
  • 5. WHAT IS C#? • C# is pronounced "C-Sharp". • It is an object-oriented programming language created by Microsoft that runs on the .NET Framework. • C# has roots from the C family, and the language is close to other popular languages like C++ and Java. • The first version was released in year 2002. The latest version, C# 8, was released in September 2019.
  • 6. WHAT IS C#?  C# is used for: • Mobile applications • Desktop applications • Web applications • Web services • Web sites • Games • VR • Database applications • And much, much more!
  • 7. WHY USE C#? • It is one of the most popular programming language in the world • It is easy to learn and simple to use • It has a huge community support • C# is an object oriented language which gives a clear structure to programs and allows code to be reused, lowering development costs. • As C# is close to C, C++ and Java, it makes it easy for programmers to switch to C# or vice versa
  • 8. WHY USE C#? • C# has many other reasons for being popular and in demand. Few of the reasons are mentioned below: • Easy to Start: C# is a high-level language so it is closer to other popular programming languages like C, C++, and Java and thus becomes easy to learn for anyone. • Widely used for developing Desktop and Web Application: C# is widely used for developing web applications and Desktop applications. It is one of the most popular languages that is used in professional desktop. If anyone wants to create Microsoft apps, C# is their first choice.
  • 9. WHY USE C#? • Community: The larger the community the better it is as new tools and software will be developing to make it better. C# has a large community so the developments are done to make it exist in the system and not become extinct. • Game Development: C# is widely used in game development and will continue to dominate. C# integrates with Microsoft and thus has a large target audience. The C# features such as Automatic Garbage Collection, interfaces, object-oriented, etc. make C# a popular game developing language.
  • 11. C# FEATURES C# is object oriented programming language. It provides a lot of features that are given below. 1.Simple 2.Modern programming language 3.Object oriented 4.Type safe 5.Interoperability 6.Scalable and Updateable 7.Component oriented 8.Structured programming language 9.Rich Library 10.Fast speed
  • 13. C# FEATURES 1) Simple C# is a simple language in the sense that it provides structured approach (to break the problem into parts), rich set of library functions, data types etc. 2) Modern Programming Language C# programming is based upon the current trend and it is very powerful and simple for building scalable, interoperable and robust applications. 3) Object Oriented C# is object oriented programming language. OOPs makes development and maintenance easier where as in Procedure- oriented programming language it is not easy to manage if code
  • 14. C# FEATURES 4) Type Safe C# type safe code can only access the memory location that it has permission to execute. Therefore it improves a security of the program. 5) Interoperability Interoperability process enables the C# programs to do almost anything that a native C++ application can do. 6) Scalable and Updateable C# is automatic scalable and updateable programming language. For updating our application we delete the old files and update them with new ones.
  • 15. C# FEATURES 7) Component Oriented C# is component oriented programming language. It is the predominant software development methodology used to develop more robust and highly scalable applications. 8) Structured Programming Language C# is a structured programming language in the sense that we can break the program into parts using functions. So, it is easy to understand and modify. 9) Rich Library C# provides a lot of inbuilt functions that makes the development fast. 10) Fast Speed The compilation and execution time of C# language is fast.
  • 16. .NET FRAMEWORK & ITS COMPONENTS • .NET is a software framework that is designed and developed by Microsoft. • It is a virtual machine for compiling and executing programs written in different languages like C#, VB.Net, etc. • It is used to develop Form-based applications, Web-based applications, and Web services. The first version of the .NET framework was 1.0 which came in the year 2002 and the current version is 4.7.1. • .NET Framework supports more than 60 programming languages in which C# and VB.Net are main programming languages.
  • 17. .NET FRAMEWORK & ITS COMPONENTS
  • 18. .NET FRAMEWORK & ITS COMPONENTS  1. Common Language Runtime(CLR): • CLR is the basic and Virtual Machine component of the .NET Framework. • It is the run-time environment in the .NET Framework that runs the codes and helps in making the development process easier. • It is responsible for managing the execution of .NET programs regardless of any .NET programming language. • It also helps in the management of code, as code that targets the runtime is known as the Managed Code and code doesn’t target to runtime is known as Unmanaged code.
  • 19. .NET FRAMEWORK & ITS COMPONENTS  2. Framework Class Library(FCL): • It is the collection of reusable, object-oriented class libraries and methods, etc that can be integrated with CLR. • Also called the Assemblies. It is just like the header files in C/C++ and packages in the java. • Installing .NET framework basically is the installation of CLR and FCL into the system.
  • 20. .NET FRAMEWORK & ITS COMPONENTS  3. Common Intermediate Language: • It is a set of instructions that are platform-independent and are generated by the language-specific compiler from the source code. • It is also known as the Microsoft Intermediate Language (MSIL).
  • 21. .NET FRAMEWORK & ITS COMPONENTS  4. Garbage Collector(GC): • Automatic memory management is made possible by Garbage Collection in .NET Framework. • When a class object is created at runtime, certain memory space is allocated to it in the heap memory. • However, after all the actions related to the object are completed in the program, the memory space allocated to it is a waste as it cannot be used. In this case, garbage collection is very useful as it automatically releases the memory space after it is no longer required. • Garbage collection will always work on Managed Heap and internally it has an Engine which is known as the Optimization
  • 22. .NET FRAMEWORK & ITS COMPONENTS  5. Just-In-Time(JIT) Compiler: • Just-In-Time compiler(JIT) is a part of Common Language Runtime (CLR) in .NET which is responsible for managing the execution of .NET programs regardless of any .NET programming language. • A language-specific compiler converts the source code to the intermediate language. • This intermediate language is then converted into the machine code by the Just-In-Time (JIT) compiler. This machine code is specific to the computer environment that the JIT compiler runs on.
  • 23. .NET FRAMEWORK & ITS COMPONENTS  6. Managed Code: • A code that is written to aimed to get the services of the managed runtime environment execution like CLR(Common Language Runtime) in .NET Framework is known as Managed Code. • It always implemented by the managed runtime environment instead of directly executed by the operating system.
  • 24. .NET FRAMEWORK & ITS COMPONENTS  7. Unmanaged Code: • A code that is directly executed by the operating system is known as Unmanaged code. • It always aimed at the processor architecture and depends upon computer architecture. • When this code is compiled it always tends to get a specific architecture and always runs on that platform.
  • 25. VISUAL STUDIO • Visual Studio is an Integrated Development Environment(IDE) developed by Microsoft to develop GUI(Graphical User Interface), console, Web applications, web apps, mobile apps, cloud, and web services, etc. • With the help of this IDE, you can create managed code as well as native code. It uses the various platforms of Microsoft software development software like Windows store, Microsoft Silverlight, and Windows API, etc. It is not a language-specific IDE as you can use this to write code in C#, C++, VB(Visual Basic), Python, JavaScript, and many more languages. • It provides support for 36 different programming languages. It is available for Windows as well as for macOS.
  • 26. C# IDE • The easiest way to get started with C#, is to use an IDE. • An IDE (Integrated Development Environment) is used to edit and compile code. • In our tutorial, we will use Visual Studio Community, which is free to download from https://visualstudio.microsoft.com/vs/community/. • Applications written in C# use the .NET Framework, so it makes sense to use Visual Studio, as the program, the framework, and the language, are all created by Microsoft.
  • 27. REFERENCES: • https://www.geeksforgeeks.org/c-sharp-tutorial/ • https://www.w3schools.com/cs/cs_intro.php • https://www.pluralsight.com/paths/csharp • https://www.javatpoint.com/csharp-history