What are collections and generics
What are collections and generics?
Expert
A collection can be defined as a group of related items that can be referred to as a single unit. The System.Collections namespace provides you with many classes and interfaces. Some of them are - ArrayList, List, Stack, ICollection, IEnumerable, and IDictionary. Generics provide the type-safety to your class at the compile time. While creating a data structure, you never need to specify the data type at the time of declaration. The System.Collections.Generic namespace contains all the generic collections.
Critical section: It is a section of code in which there is potential for a race hazard. The critical sections made use of the synchronized statements or methods.
State the terms preemption and context switching.
First in, first out: It is FIFO semantics of the queue data structure. Items are eliminated in the order in which they arrived in the queue; therefore older items are always eliminated before newer ones.
Write the index value of the initial element in an array?
Explain the main classes given by the .NET namespace to process the XML files.
Operating system: The operating system permits a computer's hardware devices to be accessed by the programs. For example, it permits data to be managed on a computer's disks in the form of a file system and it delivers the co-ordinate positions of a m
Function: The name given to assembly of statements which does some particular task and might return a value. Function can be invoked (or called) any number of time and anywhere in the program.
Explain the major elements of the ADO object model and it’s used?
Number of Threads: Threads can be a useful abstraction and implementation mechanism to partition independent program actions. However, when there is coordination (or interference) between these threads, the required synchronization mechanisms increase
Normal 0 false false
18,76,764
1933849 Asked
3,689
Active Tutors
1446821
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!