0% found this document useful (0 votes)
6 views

Net Framework

C# is an object-oriented language developed by Microsoft for building applications on Windows, web, and mobile platforms. C# syntax is similar to Java and C++, making it easy for developers to learn. The .NET Framework consists of libraries that developers can use to create programs. Assemblies are fundamental units of deployment, version control, reuse, activation scoping, and security for .NET applications. An assembly is a collection of types and resources that form a logical unit of functionality. A C# program structure includes namespaces, classes, methods, variables, statements, comments, directives, and an entry point.

Uploaded by

sei ヂ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Net Framework

C# is an object-oriented language developed by Microsoft for building applications on Windows, web, and mobile platforms. C# syntax is similar to Java and C++, making it easy for developers to learn. The .NET Framework consists of libraries that developers can use to create programs. Assemblies are fundamental units of deployment, version control, reuse, activation scoping, and security for .NET applications. An assembly is a collection of types and resources that form a logical unit of functionality. A C# program structure includes namespaces, classes, methods, variables, statements, comments, directives, and an entry point.

Uploaded by

sei ヂ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

GROUP 1

MODULE 1:
C# INTRODUCTION
n

C# (pronounced “C sharp”) is a modern object oriented programming


language developed by Microsoft as a part of its .NET platform.
C# was created with the aim of being a simple yet powerful
language for building application for Windows web and
mobile platforms

C# syntax is similar to that of other programming language such as JAVA


and C++ making it easy for developers to learn and use. It is also a
statically typed language which means that variables must be declared
with a specific data type before they can be used.
Here is an example of a basic C# program structure using system

Namespace MyProgram
{
Class Program
{
Static void Main(string[] args)
{
// code goes here
}
}
}
In the example the program declares a namespace called “My Program” and a
Contains a class called “Program”. The Main method is also included in the class
which is the entry point of the program.
MODULE 2:
.NET FRAMEWORK
STRUCTURE
The .NET Framework consists of libraries that
developers can use to create their programs.
NET architecture is the programming model
for the NET platform. Net Framework provides a
managed execution environment simplified
development and deployment and integration
with wide variety of programming languages.
Components of .NET Framework
❖ CLR (Common Language Runtime)
❖ CTS (Common Type System)
❖ BCL (Base Class Library)
❖ CLS (Common Language Specification)
❖ FCL (Framework Class Library)
❖ NET Assemblies
❖ XML Web Services
❖ Window Services
MODULE 3:
ASSEMBLY
USEE
What is the role of assembly in .NET Framework?
What are the assembly types .NET Framework?
What is assembly uses?
Why do we use assembly?
c

The features of an assembly are the following:


Assemblies are self-describing.
Version dependencies are recorded inside
assembly manifest.
Assemblies can be loaded side by side.
Installation can be as easy as copying the files
that belong to an assembly.
Assemblies can be private or shared.
Structure of the Assembly
PE Header
CLR Header
CLR Metadata
IL Code
Native Data
Assemblies are the fundamental units of deployment
version control reuse activation scoping and security
for .NET based application. An assembly is a collection
of type and resources that are built to work together and
form a logical unit of functionality.
MODULE 4:
PROGRAM STRUCTURE OF
C#
In C# a program structure consists of different
components that work together to create a functioning
program. Here are the main components of a C#
program.

Namespaces
Classes
Methods
Variables
Statements
Comments
Directives
Entry Point

You might also like