Unit 1
Unit 1
Unit 1
Windows form:
Working with Visual Studio IDE,
creating a .NET solution,
MDI application.
Q1. What is garbage collection? Mca2022 2no.
Q2. Define cross language?
Q1. Explain CTS with example.
Q2. Write the steps for creation of MDI application.
Q1. Write and explain the steps of managed execution process of .NET program.
5. Garbage Collection:
The .NET Framework includes a garbage collector that automatically manages
memory by reclaiming objects that are no longer in use.
This helps developers avoid memory leaks and ensures efficient use of system
resources.
Managed Execution process,
Here are the steps involved in the managed execution process in .NET-
4. Running Code:
The CLR provides the infrastructure that enables execution to take
place and services that can be used during execution.
CLR,
The CLS is a set of rules and specification within the .NET Framework.
JIT Compilation,
Assemblies,
Assemblies are the fundamental unit of deployment and
execution in the .NET Framework.
They serve as a container for compiled code, metadata, and
resources necessary for a .NET application.
There are two primary types of assemblies: executable (EXE)
and dynamic link library (DLL).
EXE assemblies are meant to be executed directly, while DLL are
designed to be referenced and used by other assemblies.
Assemblies contained compiled code in the form of Microsoft
Intermediate Language (MSIL), ensuring language independence.
metadata,
Metadata is binary information about the program either store in a
CLR Portable Executable File (PE) along with MSIL code or in the
memory.
During the execution of MSIL code, metadata is also loaded into
memory for proper interpretation of classes and related.
Information used in code. So, metadata helps implement code in a
language neutral manner.
Garbage collection.
Garbage Collection:
MDI application.
An MDI (Multiple Document Interface) is a graphical user interface
design pattern where multiple documents or windows are contained
within a single main window.
Child windows can be arranged within the main window, and users can
switch between them to perform different tasks.