.COMP 326 PROGRAMMING IN C#
Introduction
.NET technology was introduced by Microsoft, to catch the
market from the SUN's Java. Few years back, Microsoft had
only VC++ and VB to compete with Java, but Java was
COMP 326: PROGRAMMING IN C# catching the market very fast. With the world depending more
and more on the Internet/Web and java related tools
becoming the best choice for the web applications, Microsoft
Jan -April 2024
seemed to be loosing the battle. Thousands of programmers
moved to java from VC++ and VB. To recover the
market,Microsoft announced .NET.
The .NET is the technology, on which all other Microsoft
technologies will be depending on in future.
It is a new framework platform for developing web-based and
windows-based applications within the Microsoft
environment.
.NET is not a language. (runtime and a library for execution
Lecture Notes
.net application)
ELKANA RABURA
.NET Environment/Platform
Visual studio .NET is an Integrated Development
Environment(IDE) from Microsoft.
Contact: 0714500026
It provides the tools to design ,develop, compiling and
debugging the all .net applications.
DEPARTMENT OF MATHEMATICS AND COMPUTER
SCIENCE
SCHOOL SCIENCE
UNIVERSITY OF ELDORET
,COMP 326
, .COMP 326 PROGRAMMING IN C#
.NET Framework
.NET Framework is a computing model that makes things
easier for application development for the distributed
environment of the internet.
.NET Framework is an environment for building, deploying .NET Components/ Features of the .Net Framework:
and running web services and others applications. The first
The .NET Framework is composed of five main components:
version of the .Net framework was released in the year 2002.
The version was called .Net framework 1.0. The .Net Common Language Runtime (CLR)
framework has come a long way since then, and the current Common Language Specification(CLS)
Common Type System(CTS)
version is 4.8.
Base Class Library(BCL)/Framework Class
.NET framework comes with a single class library. Whether write the Library(FCL)
code in C# or VB.NET or J# just use the .NET class library. There is Microsoft Intermediate language(MSIL or IL)
no classes specific to any language. Because it is support multiple
CLR-stands for Common Language Runtime is a managed
programming languages.
execution environment that is part of Microsoft’s .NET
framework. CLR manages the execution of programs written
in different supported languages.
CLR transforms source code into a form of bytecode known as
Common Intermediate Language (CIL). At run time, CLR
handles the execution of the CIL code.
COMP 326
, .COMP 326 PROGRAMMING IN C#
CTS-stands for Common Type System Common The language
interoperability, and .NET Class Framework, are not possible
without all the language sharing the same data types. What
this means is that an "int" should mean the same in VB,
VC++, C# and all other .NET compliant languages. Same idea
follows for all the other data types. It is an important part of the
runtimes support for cross language integration.
CLS- stands for Common Language Specification and it is a
subset of CTS. It defines a set of rules and restrictions that
every language must follow which runs under .NET
framework. The languages which follows these set of rules are
said to be CLS Compliant. It enables cross-language
interoperability between various programming languages.
BCL - stands for Base Class Library ( Unified Classes) is a
subset of Framework class library (FCL). Class library is the
collection of reusable types that are closely integrated with
CLR. All .NET-based languages also access the same libraries.
The .NET Framework has an extensive set of class libraries.
This includes classes for:
• Data Access: High Performance data· access classes for
connecting to SQL Server or any other OLEDB provider.
• XML Supports: Next generation XML support that goes far
beyond the functionality of MSXML.
COMP 326
Introduction
.NET technology was introduced by Microsoft, to catch the
market from the SUN's Java. Few years back, Microsoft had
only VC++ and VB to compete with Java, but Java was
COMP 326: PROGRAMMING IN C# catching the market very fast. With the world depending more
and more on the Internet/Web and java related tools
becoming the best choice for the web applications, Microsoft
Jan -April 2024
seemed to be loosing the battle. Thousands of programmers
moved to java from VC++ and VB. To recover the
market,Microsoft announced .NET.
The .NET is the technology, on which all other Microsoft
technologies will be depending on in future.
It is a new framework platform for developing web-based and
windows-based applications within the Microsoft
environment.
.NET is not a language. (runtime and a library for execution
Lecture Notes
.net application)
ELKANA RABURA
.NET Environment/Platform
Visual studio .NET is an Integrated Development
Environment(IDE) from Microsoft.
Contact: 0714500026
It provides the tools to design ,develop, compiling and
debugging the all .net applications.
DEPARTMENT OF MATHEMATICS AND COMPUTER
SCIENCE
SCHOOL SCIENCE
UNIVERSITY OF ELDORET
,COMP 326
, .COMP 326 PROGRAMMING IN C#
.NET Framework
.NET Framework is a computing model that makes things
easier for application development for the distributed
environment of the internet.
.NET Framework is an environment for building, deploying .NET Components/ Features of the .Net Framework:
and running web services and others applications. The first
The .NET Framework is composed of five main components:
version of the .Net framework was released in the year 2002.
The version was called .Net framework 1.0. The .Net Common Language Runtime (CLR)
framework has come a long way since then, and the current Common Language Specification(CLS)
Common Type System(CTS)
version is 4.8.
Base Class Library(BCL)/Framework Class
.NET framework comes with a single class library. Whether write the Library(FCL)
code in C# or VB.NET or J# just use the .NET class library. There is Microsoft Intermediate language(MSIL or IL)
no classes specific to any language. Because it is support multiple
CLR-stands for Common Language Runtime is a managed
programming languages.
execution environment that is part of Microsoft’s .NET
framework. CLR manages the execution of programs written
in different supported languages.
CLR transforms source code into a form of bytecode known as
Common Intermediate Language (CIL). At run time, CLR
handles the execution of the CIL code.
COMP 326
, .COMP 326 PROGRAMMING IN C#
CTS-stands for Common Type System Common The language
interoperability, and .NET Class Framework, are not possible
without all the language sharing the same data types. What
this means is that an "int" should mean the same in VB,
VC++, C# and all other .NET compliant languages. Same idea
follows for all the other data types. It is an important part of the
runtimes support for cross language integration.
CLS- stands for Common Language Specification and it is a
subset of CTS. It defines a set of rules and restrictions that
every language must follow which runs under .NET
framework. The languages which follows these set of rules are
said to be CLS Compliant. It enables cross-language
interoperability between various programming languages.
BCL - stands for Base Class Library ( Unified Classes) is a
subset of Framework class library (FCL). Class library is the
collection of reusable types that are closely integrated with
CLR. All .NET-based languages also access the same libraries.
The .NET Framework has an extensive set of class libraries.
This includes classes for:
• Data Access: High Performance data· access classes for
connecting to SQL Server or any other OLEDB provider.
• XML Supports: Next generation XML support that goes far
beyond the functionality of MSXML.
COMP 326