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


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

Do and Don't do in Classes

Posted By :Narayanan     Posted Date :April 25, 2013    Points :40   Category :.NET Framework 
Do :
Use a noun or noun phrase to name a Class.
Provide default private constructor if there are only static member or properties on a Class.
Don't do:
Avoid putting Multiple Class in one class.

You can also find related Interview Question to Do and Don''t do in Classes  below: 

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...)

Give Some Examples of Generic Classes?

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

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

  
DataSet
DataTable
DataColumn
DataRow
DataRealation
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