.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Interview Question >> C# >> Post New Question Subscribe to Interview Questions

Examples of Generic Classes?

Posted By :Anil Kumar pandey     Posted Date :February 16, 2010    Points :10   Category :C# 

You can also find related Interview Question to Examples of Generic Classes?  below: 

Give Some Examples of Generic Classes?

List,Queue,Stack,LinkedList,HashSet (More...)

What are the collection classes?

Queue, Stack, BitArray, HashTable, LinkedList, ArrayList, Name ValueCollection, Array, SortedList, HybridDictionary, ListDictionary, StringCollection, StringDictionary (More...)

What are the collection classes?

The .NET Framework provides specialized classes for data storage
and retrieval.
These classes provide support for stacks, queues, lists, and hash tables. (More...)

What are Abstract base classes?

Abstact Class is nothing but a true virtual class..
This class cannot be instantiated instead it has to be inherited.
The method in abstract class are virtual and hence they can be overriden in the child class. (More...)

Does C# support friend classes like in C++?

No. About the closest you can come is using the internal keyword, which allows access within the current assembly. But, there is no way to specify specific a class that knows about another class's private implementation. (More...)

What Are the Generic Delegates?

The System namespace defines five new generic delegates. The first is EventHandler defined as:

public delegate void EventHandler(object sender,E e) where E : EventArgs (More...)

What Are the Generic Methods of System.Array?

The System.Array type is extended with many generic static methods. The generic static methods are designed to automate and streamline common tasks of working with arrays, such as iterating over the array and performing an action on each element, scanning the array looking for a value that matches a certain criteria (a predicate), converting and sorting the array, and so on. Below is a partial listing of these static methods (More...)

How Do I Reflect Generic Types?

Like most other things done with reflection, you use the class Type. Type can represent generic types with specific type arguments (called bounded types), or unspecified (unbounded) types.

Both typeof and GetType() can operate on type parameters:

Copy Code
public class MyClass
public void SomeMethod(T t)
Type type = typeof(T);
Debug.Assert(type == t.GetType());
} (More...)

Name the classes that are contained in System.Data NameSpace?

Constraint (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend