Can you override private virtual methods?
Answers were Sorted based on User's Feedback
Answer / guest
No, moreover, you cannot access private methods in inherited
classes, have to be protected in the base class to allow any
sort of access
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / dsp
When you specify Virtual method as a private member it will
gives compilation error.So u on't
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / naveen
As a private acess level is visible to current class only
it will be meaning less to specify vitual method and more
over it must generate a compilation error.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kanan
No we can not declare method as "Private Virtual".
| Is This Answer Correct ? | 0 Yes | 0 No |
It will give compilation error because virtual functions
can't be private.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is .net console?
Why is static constructor called first?
What is difference between managed and unmanaged code?
0 Answers SwanSoft Technologies,
why C#.net doesnot support prcedures and why it supports structs,functions
Why do we use Design Pattern?
What is marshalling and what are different kinds of marshalling?
What is toint32 c#?
Is class reference type c#?
How can we insert 100 records @ a time without using for loop into the databse
Describe an interface class?
Where’s global assembly cache located on the system?
Why abstraction is used in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)