SlideShare a Scribd company logo
Basics Of C#
Sabir Ali
Topics To Be Covered(L1- L5)
 Introduction to C#.NET, C# Language
 Introduction to .NET(. Net Framework)
 CTS, CLR, Managed code ,Native code
 Toolbox, Properties Window
 Controls ,Forms
 MDI
What is C#?
 C# is a multi-paradigm programming
language encompassing strong typing,
imperative,
declarative,
functional,
generic, object-oriented (class-based),
and component-oriented programming
disciplines.
Brief History of C#
 In January 1999, Anders Hejlsberg formed a
team to build a new language called Cool,"Clike Object Oriented Language"
 First release in Jan,2002 with .NET
Framework 1.0 and Visual Studio 2002.
 Influenced by C++,Java,Delphi,Smalltalk,Eiffel
 Got ISO standardization in 2003.
 Major Changes in C# version 3.0
Features of C#
 Simple
 Modern
 Object oriented
 Type safe
 Scalable
 Code Interoperability
 Updatable
Distinguishing Features of C#
 No Pointers
 No global variables or functions
 Automatically garbage collection
 Strict type casting
 Checked exceptions are not present
 LINQ and Lambda Expressions
 Delegates and Events Management
 Windows form
Introduction to .NET Framework
 Software platform by Microsoft
 Language neutral
 It’s a complete environment that allows
developer to develop, run and deploy various
applications .
 offers a fundamental shift in Microsoft strategy:
it moves application development from clientcentric to server-centric.
What you can build with .NET
framework:
 Console Application
 Windows Form Application
 Web Application (ASP.NET)
 Web Services
 Windows Services
 Service Oriented Applications.
Overview of its Working
Main Components of .NET
Framework :
CLR: Common Language Runtime
 Provides environment to make development process
easier.
 Its provide common runtime for all .NET code
 Provides services to execute process such as
- Memory Management
-Garbage Collection
- Code Access Security
- JIT compilation of code
CTS (Common Type System)





Part of CLR
Contains common type for all languages.
Helps in code Inter –operability.
Provides a base set of data types for all languages
that id supported by .NET Framework.
 Like Size of integer is same in all the .NET compliant
languages .
MSIL
 .NET Framework has various compiler
for various languages it support.
 These compiler produces intermediate
code that is common for all languages .
 This code is understandable only in .Net
framework environment.
JIT Compiler
 Major element in CLR
 Loads MSIL to target machine.
 Translates the MSIL code to an
assembly using CPU architecture.
 Compiles the CIL code to Native Code in
runtime whenever required in target
machine.
Managed Code
 Code that has managed execution by .NET
Framework.
 Every aspect are managed by CLR.
 Any language that are in .NET framework are
is having managed code.
 Runtime services like code security, type
checking, garbage collection etc.
UnManaged Code
 Code that are not executed under controlled
environment
 Executed under direct control of OS.
 Typically VB,C++,C,COM etc are unmanaged.
 Get Services like memory management, code
security from Operating System.
Compilation In .NET Framework

(Source: http://www.xprogramming.com/xpmag/whatisxp.htm)
Introduction toWindowsApplication
 Developer can use to quickly build the
user interface (UI) for an application.
 Create a user interface by dragging and
dropping controls from a toolbox to your
form.
 Double-click the control to add handlers
for the control.
Toolbox
 The toolbox contains a selection of all
the controls available .
 Can be customized.
 Having all the controls derived from
System.Windows.Forms.Control class.
Commonly used controls are:
 Label
 TextBox
 Button
 CheckBox
 RadioButton
 Groupbox
 PictureBox
Properties of a control (Common)
 Anchor
 BackColor
 Enabled
 Name
 TabIndex
 Visible
MDI Forms
 MDI forms contains parent-child relationship.





One parent form can contain many child.
Parent forms are having certain form boundary
Each child form is accessible within that boundary.
If the parent form is closing it will destroy all the
child instances.

 MDI are used when certain form works
independently and handling different modules
under common project.
Thank you !!!

Any Question??
Spill Over:
Lambda Expression:
Lambda expression is an inline delegate introduced with C # 3.0 language. It’s a
concise way to represent an anonymous method. It provides a syntax to create
and invoke functions. Although Lambda expressions are simpler to use than
anonymous methods, they do slightly differ on how they are implemented. Both
anonymous methods and Lambda expressions allow you define the method
implementation inline, however, an anonymous method explicitly requires you to
define the parameter types and the return type for a method. Lambda expression
uses the type inference feature of C# 3.0 which allows the compiler to infer the
type of the variable based on the context.
Language-Integrated Query (LINQ) is the name for a set of technologies based on the
integration of query capabilities directly into the C# language (also in Visual Basic
and potentially any other .NET language). With LINQ, a query is now a first-class
language construct, just like classes, methods, events and so on.

More Related Content

What's hot

.Net framework components by naveen kumar veligeti
.Net framework components by naveen kumar veligeti.Net framework components by naveen kumar veligeti
.Net framework components by naveen kumar veligeti
Naveen Kumar Veligeti
 
Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)
DrUjwala1
 
.Net Framework Introduction
.Net Framework Introduction.Net Framework Introduction
.Net Framework Introduction
Abhishek Sahu
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#rahulsahay19
 
Architecture of net framework
Architecture of net frameworkArchitecture of net framework
Architecture of net framework
umesh patil
 
The .NET Platform - A Brief Overview
The .NET Platform - A Brief OverviewThe .NET Platform - A Brief Overview
The .NET Platform - A Brief OverviewCarlos Lopes
 
.Net framework
.Net framework.Net framework
.Net framework
Om Vikram Thapa
 
Tutorial c#
Tutorial c#Tutorial c#
Tutorial c#
Mohammad Faizan
 
Architecture of .net framework
Architecture of .net frameworkArchitecture of .net framework
Architecture of .net framework
Then Murugeshwari
 
.net CLR
.net CLR.net CLR
.net CLR
DevTalk
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
Jaya Kumari
 
Object oriented-programming-in-c-sharp
Object oriented-programming-in-c-sharpObject oriented-programming-in-c-sharp
Object oriented-programming-in-c-sharpAbefo
 
Dotnet framework
Dotnet frameworkDotnet framework
Dotnet frameworkNitu Pandey
 
Introduction to c_sharp
Introduction to c_sharpIntroduction to c_sharp
Introduction to c_sharp
HEM Sothon
 
6.origins genesis of .net technology
6.origins genesis of .net technology6.origins genesis of .net technology
6.origins genesis of .net technology
Pramod Rathore
 
Visula C# Programming Lecture 1
Visula C# Programming Lecture 1Visula C# Programming Lecture 1
Visula C# Programming Lecture 1
Abou Bakr Ashraf
 

What's hot (19)

.Net framework components by naveen kumar veligeti
.Net framework components by naveen kumar veligeti.Net framework components by naveen kumar veligeti
.Net framework components by naveen kumar veligeti
 
Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)
 
.Net Framework Introduction
.Net Framework Introduction.Net Framework Introduction
.Net Framework Introduction
 
C#.NET
C#.NETC#.NET
C#.NET
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#
 
Architecture of net framework
Architecture of net frameworkArchitecture of net framework
Architecture of net framework
 
The .NET Platform - A Brief Overview
The .NET Platform - A Brief OverviewThe .NET Platform - A Brief Overview
The .NET Platform - A Brief Overview
 
.Net framework
.Net framework.Net framework
.Net framework
 
C Course Material0209
C Course Material0209C Course Material0209
C Course Material0209
 
Tutorial c#
Tutorial c#Tutorial c#
Tutorial c#
 
Architecture of .net framework
Architecture of .net frameworkArchitecture of .net framework
Architecture of .net framework
 
.net CLR
.net CLR.net CLR
.net CLR
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
Object oriented-programming-in-c-sharp
Object oriented-programming-in-c-sharpObject oriented-programming-in-c-sharp
Object oriented-programming-in-c-sharp
 
Programming in c#
Programming in c#Programming in c#
Programming in c#
 
Dotnet framework
Dotnet frameworkDotnet framework
Dotnet framework
 
Introduction to c_sharp
Introduction to c_sharpIntroduction to c_sharp
Introduction to c_sharp
 
6.origins genesis of .net technology
6.origins genesis of .net technology6.origins genesis of .net technology
6.origins genesis of .net technology
 
Visula C# Programming Lecture 1
Visula C# Programming Lecture 1Visula C# Programming Lecture 1
Visula C# Programming Lecture 1
 

Viewers also liked

Chapter01
Chapter01Chapter01
Chapter03
Chapter03Chapter03
Chapter05
Chapter05Chapter05
Chapter04
Chapter04Chapter04
Object oriented programming With C#
Object oriented programming With C#Object oriented programming With C#
Object oriented programming With C#
Youssef Mohammed Abohaty
 
Chapter02
Chapter02Chapter02
Dot net guide for beginner
Dot net guide for beginner Dot net guide for beginner
Dot net guide for beginner
jayc8586
 
C sharp
C sharpC sharp
C sharp
Ahmed Vic
 
C++ to java
C++ to javaC++ to java
C++ to java
Ajmal Ak
 
Python basic
Python basicPython basic
Python basic
Mayur Mohite
 
3rd june
3rd june3rd june
Beginning Java for .NET developers
Beginning Java for .NET developersBeginning Java for .NET developers
Beginning Java for .NET developers
Andrei Rinea
 
A comparison between C# and Java
A comparison between C# and JavaA comparison between C# and Java
A comparison between C# and JavaAli MasudianPour
 
Microsoft C# programming basics
Microsoft C# programming basics  Microsoft C# programming basics
Microsoft C# programming basics
Prognoz Technologies Pvt. Ltd.
 
java vs C#
java vs C#java vs C#
2.overview of c#
2.overview of c#2.overview of c#
2.overview of c#Raghu nath
 
Difference between C++ and Java
Difference between C++ and JavaDifference between C++ and Java
Difference between C++ and Java
Ajmal Ak
 
C sharp
C sharpC sharp
C sharp
sanjay joshi
 

Viewers also liked (20)

Chapter01
Chapter01Chapter01
Chapter01
 
Chapter03
Chapter03Chapter03
Chapter03
 
Chapter05
Chapter05Chapter05
Chapter05
 
Chapter04
Chapter04Chapter04
Chapter04
 
Object oriented programming With C#
Object oriented programming With C#Object oriented programming With C#
Object oriented programming With C#
 
Chapter02
Chapter02Chapter02
Chapter02
 
Dot net guide for beginner
Dot net guide for beginner Dot net guide for beginner
Dot net guide for beginner
 
C sharp
C sharpC sharp
C sharp
 
C++ to java
C++ to javaC++ to java
C++ to java
 
Python basic
Python basicPython basic
Python basic
 
3rd june
3rd june3rd june
3rd june
 
Beginning Java for .NET developers
Beginning Java for .NET developersBeginning Java for .NET developers
Beginning Java for .NET developers
 
A comparison between C# and Java
A comparison between C# and JavaA comparison between C# and Java
A comparison between C# and Java
 
Php i basic chapter 3
Php i basic chapter 3Php i basic chapter 3
Php i basic chapter 3
 
Microsoft C# programming basics
Microsoft C# programming basics  Microsoft C# programming basics
Microsoft C# programming basics
 
java vs C#
java vs C#java vs C#
java vs C#
 
2.overview of c#
2.overview of c#2.overview of c#
2.overview of c#
 
Difference between C++ and Java
Difference between C++ and JavaDifference between C++ and Java
Difference between C++ and Java
 
C sharp
C sharpC sharp
C sharp
 
C vs c++
C vs c++C vs c++
C vs c++
 

Similar to Basics of c# by sabir

Presentation1
Presentation1Presentation1
Presentation1kpkcsc
 
1 get started with c#
1   get started with c#1   get started with c#
1 get started with c#Tuan Ngo
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
Arun Prasad
 
ASP.NET Session 1
ASP.NET Session 1ASP.NET Session 1
ASP.NET Session 1Sisir Ghosh
 
04 iec t1_s1_oo_ps_session_05
04 iec t1_s1_oo_ps_session_0504 iec t1_s1_oo_ps_session_05
04 iec t1_s1_oo_ps_session_05Niit Care
 
Concepts of Asp.Net
Concepts of Asp.NetConcepts of Asp.Net
Concepts of Asp.Netvidyamittal
 
SynapseIndia dotnet web development architecture module
SynapseIndia dotnet web development architecture moduleSynapseIndia dotnet web development architecture module
SynapseIndia dotnet web development architecture module
Synapseindiappsdevelopment
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net frameworkFaisal Aziz
 
.Net Framwork Architecture And components
.Net Framwork Architecture And components.Net Framwork Architecture And components
.Net Framwork Architecture And components
syedArr
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishSvetlin Nakov
 
Dot net
Dot netDot net
Dot net
public
 
Chapter1_Part1.pptx
Chapter1_Part1.pptxChapter1_Part1.pptx
Chapter1_Part1.pptx
RaajzKoirala
 
.Net framework
.Net framework.Net framework
.Net frameworkRaghu nath
 
Dotnet1
Dotnet1Dotnet1
Microsoft .NET Platform
Microsoft .NET PlatformMicrosoft .NET Platform
Microsoft .NET Platform
Peter R. Egli
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.Net
Vishwa Mohan
 
.Net framework
.Net framework.Net framework
.Net framework
Viv EK
 

Similar to Basics of c# by sabir (20)

Presentation1
Presentation1Presentation1
Presentation1
 
1 get started with c#
1   get started with c#1   get started with c#
1 get started with c#
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
 
C Sharp Jn
C Sharp JnC Sharp Jn
C Sharp Jn
 
ASP.NET Session 1
ASP.NET Session 1ASP.NET Session 1
ASP.NET Session 1
 
04 iec t1_s1_oo_ps_session_05
04 iec t1_s1_oo_ps_session_0504 iec t1_s1_oo_ps_session_05
04 iec t1_s1_oo_ps_session_05
 
C sharp
C sharpC sharp
C sharp
 
Concepts of Asp.Net
Concepts of Asp.NetConcepts of Asp.Net
Concepts of Asp.Net
 
SynapseIndia dotnet web development architecture module
SynapseIndia dotnet web development architecture moduleSynapseIndia dotnet web development architecture module
SynapseIndia dotnet web development architecture module
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
 
.Net Framwork Architecture And components
.Net Framwork Architecture And components.Net Framwork Architecture And components
.Net Framwork Architecture And components
 
Intro.net
Intro.netIntro.net
Intro.net
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
 
Dot net
Dot netDot net
Dot net
 
Chapter1_Part1.pptx
Chapter1_Part1.pptxChapter1_Part1.pptx
Chapter1_Part1.pptx
 
.Net framework
.Net framework.Net framework
.Net framework
 
Dotnet1
Dotnet1Dotnet1
Dotnet1
 
Microsoft .NET Platform
Microsoft .NET PlatformMicrosoft .NET Platform
Microsoft .NET Platform
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.Net
 
.Net framework
.Net framework.Net framework
.Net framework
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 

Basics of c# by sabir

  • 2. Topics To Be Covered(L1- L5)  Introduction to C#.NET, C# Language  Introduction to .NET(. Net Framework)  CTS, CLR, Managed code ,Native code  Toolbox, Properties Window  Controls ,Forms  MDI
  • 3. What is C#?  C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.
  • 4. Brief History of C#  In January 1999, Anders Hejlsberg formed a team to build a new language called Cool,"Clike Object Oriented Language"  First release in Jan,2002 with .NET Framework 1.0 and Visual Studio 2002.  Influenced by C++,Java,Delphi,Smalltalk,Eiffel  Got ISO standardization in 2003.  Major Changes in C# version 3.0
  • 5. Features of C#  Simple  Modern  Object oriented  Type safe  Scalable  Code Interoperability  Updatable
  • 6. Distinguishing Features of C#  No Pointers  No global variables or functions  Automatically garbage collection  Strict type casting  Checked exceptions are not present  LINQ and Lambda Expressions  Delegates and Events Management  Windows form
  • 7. Introduction to .NET Framework  Software platform by Microsoft  Language neutral  It’s a complete environment that allows developer to develop, run and deploy various applications .  offers a fundamental shift in Microsoft strategy: it moves application development from clientcentric to server-centric.
  • 8. What you can build with .NET framework:  Console Application  Windows Form Application  Web Application (ASP.NET)  Web Services  Windows Services  Service Oriented Applications.
  • 9. Overview of its Working
  • 10. Main Components of .NET Framework :
  • 11. CLR: Common Language Runtime  Provides environment to make development process easier.  Its provide common runtime for all .NET code  Provides services to execute process such as - Memory Management -Garbage Collection - Code Access Security - JIT compilation of code
  • 12. CTS (Common Type System)     Part of CLR Contains common type for all languages. Helps in code Inter –operability. Provides a base set of data types for all languages that id supported by .NET Framework.  Like Size of integer is same in all the .NET compliant languages .
  • 13. MSIL  .NET Framework has various compiler for various languages it support.  These compiler produces intermediate code that is common for all languages .  This code is understandable only in .Net framework environment.
  • 14. JIT Compiler  Major element in CLR  Loads MSIL to target machine.  Translates the MSIL code to an assembly using CPU architecture.  Compiles the CIL code to Native Code in runtime whenever required in target machine.
  • 15. Managed Code  Code that has managed execution by .NET Framework.  Every aspect are managed by CLR.  Any language that are in .NET framework are is having managed code.  Runtime services like code security, type checking, garbage collection etc.
  • 16. UnManaged Code  Code that are not executed under controlled environment  Executed under direct control of OS.  Typically VB,C++,C,COM etc are unmanaged.  Get Services like memory management, code security from Operating System.
  • 17. Compilation In .NET Framework (Source: http://www.xprogramming.com/xpmag/whatisxp.htm)
  • 18. Introduction toWindowsApplication  Developer can use to quickly build the user interface (UI) for an application.  Create a user interface by dragging and dropping controls from a toolbox to your form.  Double-click the control to add handlers for the control.
  • 19. Toolbox  The toolbox contains a selection of all the controls available .  Can be customized.  Having all the controls derived from System.Windows.Forms.Control class.
  • 20. Commonly used controls are:  Label  TextBox  Button  CheckBox  RadioButton  Groupbox  PictureBox
  • 21. Properties of a control (Common)  Anchor  BackColor  Enabled  Name  TabIndex  Visible
  • 22. MDI Forms  MDI forms contains parent-child relationship.     One parent form can contain many child. Parent forms are having certain form boundary Each child form is accessible within that boundary. If the parent form is closing it will destroy all the child instances.  MDI are used when certain form works independently and handling different modules under common project.
  • 23. Thank you !!! Any Question??
  • 24. Spill Over: Lambda Expression: Lambda expression is an inline delegate introduced with C # 3.0 language. It’s a concise way to represent an anonymous method. It provides a syntax to create and invoke functions. Although Lambda expressions are simpler to use than anonymous methods, they do slightly differ on how they are implemented. Both anonymous methods and Lambda expressions allow you define the method implementation inline, however, an anonymous method explicitly requires you to define the parameter types and the return type for a method. Lambda expression uses the type inference feature of C# 3.0 which allows the compiler to infer the type of the variable based on the context. Language-Integrated Query (LINQ) is the name for a set of technologies based on the integration of query capabilities directly into the C# language (also in Visual Basic and potentially any other .NET language). With LINQ, a query is now a first-class language construct, just like classes, methods, events and so on.