.NET Framework Flashcards
What is the name of the programming language developed at Microsoft in the late 1990s, headed by Anders Hejlsberg?
C#
What programming paradigm does C# support, including encapsulation, inheritance, and polymorphism?
Object-oriented programming
What feature of C# automatically manages memory and handles garbage collection?
Automatic memory management
What is the runtime environment in the .NET framework that manages the execution of .NET code?
Common Language Runtime (CLR)
Which language feature in C# allows you to write database queries in the programming language itself?
Language-Integrated Query (LINQ)
In C#, what are primitive data types automatically initialized to?
Zero
In C#, what are reference types like objects and classes automatically initialized to?
Null
Which .NET component provides access to relational databases and XML data sources?
ADO.NET
What is the name of the compiler that converts MSIL code into native machine-language code?
Just-In-Time (JIT) compiler
Which feature of .NET allows developers to write code in multiple programming languages?
Interoperability
What is the universal format for data on the Web that ADO.NET supports?
XML
Which .NET component is used for building dynamic websites using a drag-and-drop, event-driven model?
ASP.NET Web Forms
What is the purpose of the Global Assembly Cache (GAC) in .NET?
To store assemblies specifically designated to be shared by multiple applications.
What is the formal specification in .NET that documents how types are declared, used, and managed?
Common Type System (CTS)
What is the term for a collection of types and resources that form a logical unit of functionality in .NET?
Assembly
What is the name of the intermediate language code that .NET source code is compiled into?
Microsoft Intermediate Language (MSIL)
What are the two forms that an assembly can take in .NET?
EXE (Executable) and DLL (Dynamic-Link Library)
Which part of an assembly stores identification information and a list of other assemblies used in the current assembly?
Manifest
Which C# method is the starting point of every application?
Main method
What is the namespace in the .NET framework that contains the classes and interfaces used for building applications?
.NET Base Class Library
What feature of C# allows developers to define anonymous methods and expand the scope of the language?
lambda expressions
What is the purpose of the ‘using’ keyword in C#?
To access the classes available in a namespace
What does the Common Language Specification (CLS) ensure in the .NET environment?
Operability between languages
What are the two types of assembly deployment in .NET?
Private and shared
Which .NET feature allows the creation of highly responsive web applications with minimal effort?
AJAX
What is the role of the .NET Base Class Library?
To provide classes and interfaces for building applications
What does the OS manage in the context of .NET applications?
Hardware and software resources
Which feature of .NET ensures that code in different languages can exchange data types?
Language independence
Which C# feature supports secure, controlled runtime environments for executing programs?
CLR (Common Language Runtime)
What must every C# program’s file name match?
The class name with a .cs extension
What do comments in C# source code start with?
/…/ or //
Which type of assembly in .NET is not required to be registered in the GAC?
Private assembly
Which programming languages are supported by the .NET framework?
VB, C++, C#, JScript, J#
What does the acronym AJAX stand for in the context of .NET?
Asynchronous JavaScript and XML