What does virtual keyword mean ?
Answers were Sorted based on User's Feedback
Answer / nitin kumar tomar
Virtual mean that the function and property can be
overriden in drive class
| Is This Answer Correct ? | 35 Yes | 2 No |
Answer / a.venkatakrishna
The function preceeded by VIRTUAL keyword can be overriden
in its derived classes...BUT it is not mandatory to
override...
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / bapu
derived class can modify the logic for function or property
which declared as virtual.....
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sanjeet kumar rai
The keyword virtual is applied to a method declaration to
indicate that the method may be overridden in a subclass. If
the virtual keyword is not applied and a method is defined
in a subclass with the same signature as the one in the
super class, the method in the super class is hidden by the
subclass implementation.
| Is This Answer Correct ? | 3 Yes | 3 No |
Why can?t you specify the accessibility modifier for methods inside the interface?
Can multiple catch blocks be executed?
When should we use delegates in c#?
Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.
Is c# and c sharp same?
Explain manifest & metadata?
What is an ienumerable in c#?
What is AutoMapper in C#?
Why do we use Design Pattern?
What is the output of TextWriterTraceListener redirected?
Is php easier than c#?
Can constructor be protected 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)