Buy Questpond's video subscriptions on
huge discount
.
Online: 3237
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
C#
>
Loading ...
Can we create a class private?
Posted by
Rajni.Shekhar
on 6/27/2012 | Category:
C# Interview questions
| Views: 3365 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
No, we can not create a class private, it will give runtime error.
Example:
private class <classname>
{
}
compile time error. class can not be defined as private, protected and internal.
Asked In:
HCL |
Alert Moderator
Bookmark It
< Previous :
What is difference between throw and throw ex?
Next > :
In HTML 5, what is the declaration of the doctype ...
Comments or Responses
Login to post response
More Interview Questions by Rajni.Shekhar
Web service can only be written in .net?
Where on the Internet would you look for Web services?
How do you turn off cookies for one page in your site?
What is Machine.config?
What is Global Asssembly Cache (GAC)?
What is a Web Service?
What is CTS?
What is metadata?
Latest Interview Questions
In HTML 5, what is the declaration of the doctype ?
Difference between Database Mail and SQLMail ?
What is Job in Sql Server ?
What is window PowerShell ?
What is ELMAH ?
Difference between Azure Table storage versus SQL Azure ?
What is SQL Azure ?
What is Windows Server AppFabric?
More ...