Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Interview Questions
What is a New modifier?
Posted By :
Posted Date :
February 28, 2013
The new modifier hides a member of the base class. C# supports only hide by signature.
You can also find related Interview Question to
What is a New modifier?
why cant we specify the accesibility modifier for methods inside the interface?
They all are public
What is a modifier?
A modifier, also called a modifying function is a member function that changes the value of at least one data member. In other words, an operation that modifies the state of an object. Modifiers are also known as 'mutators'.
Describe the accessibility modifier protected internal.
It's available to derived classes and classes within the same Assembly.
What is the scope of the access modifier Protected Internal?
We can access with in the project and also in the derived project
Why can't you specify the accessibility modifier for methods inside the interface
They all must be public. Therefore, to prevent you from getting the false impression that you have any freedom of choice, you are not allowed to specify any accessibility, it's public by default.
Why can't you specify the accessibility modifier for methods inside the interface?
They all must be public. Therefore, to prevent you from getting the false impression that you have any freedom of choice,
you are not allowed to specify any accessibility, it's public by default.
Does accessibilty modifier implies on interfaces?
No, all the elements of interface should be public
Is it possible to modify an abstract class with sealed Modifier?
no, Because the two modifier have opposite meanings.
Is static modifier allowed in a Constant declaration
What is Shadows modifier in VB.NET?
It is used to hide the member of base class.
Note: "new" keyword is also used for the same purpose in C#.NET.
Quick Links For Interview Questions Categories:
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
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
Terms of Service
Tell A Friend