ASSIGNMENT FRONT SHEET
1.1 discuss the principles, characteristics, and features of programming using a .NET framework
The Microsoft .NET Framework is a software framework that can be installed on computers
running Microsoft Windows operating systems. It includes a large library of coded solutions to common
programming problems and a virtual machine that manages the execution of programs written
specifically for the framework. The .NET Framework is a Microsoft offering and is intended to be used by
most new applications created for the Windows platform.
The framework's Base Class Library provides a large range of features including user interface,
data and data access, database connectivity, cryptography, web application development, numeric
algorithms, and network communications. The class library is used by programmers, who combine it with
their own code to produce applications.
Programs are written for the .NET Framework execute in a software environment that manages the
program's runtime requirements. Also part of the .NET Framework, this runtime environment is known
as the Common Language Runtime (CLR). The CLR provides the appearance of an application virtual
machine so that programmers need not consider the capabilities of the specific CPU that will execute the
program. The CLR also provides other important services such as security, memory management, and
exception handling. The class library and the CLR together constitute the .NET Framework.
o Type safety:
THE NET framework performs operations on the values of objects for which .NET framework requires each
value or object has a type and which reference to the value or object type
o Manage code execution
The .NET framework manages the state of the object while executing the .NET applications
The .NET framework automatically allocates memory and provides a garbage collection mechanism to de –
allocate memory
o Side by side execution
The .NET framework allows a different version of the same application to run on the same machine by using
assemblies of different versions. Assemblies consist of IL code and metadata. Where metadata
determines the application dependencies. By this .NET framework, runtime executes multiple version of
the assembly and solves the major problem of a legacy development environment
Principles
Abstraction
The word abstract means a concept or an idea not associated with any specific instance. In programming,
we apply the same meaning of abstraction by making classes not associated with any specific instance.
The abstraction is done when we need to only inherit from a certain class, but not need to instantiate
objects of that class. In such case the base class can be regarded as " Incomplete" Such classes are
known as a " Abstract Base Class"
Abstract Base Class
There are some important points about the Abstract Base Class :
1. An Abstract Base class can not be instantiated; it means the object of that class can not be
created.
2. Class having the abstract keyword and having, an abstract keyword with some of its methods (not all) is
known as an Abstract Base Class.
3. The class having Abstract keyword and having an abstract keyword with all of its methods is known as
pure Abstract Base Class.
4. The method of an abstract class that has no implementation is known as "operation". It can be
defined as an abstract void method ();
5. An abstract class holds the methods but the actual implementation of those methods is made in
the derived class.
Get Free Quote!
414 Experts Online