What are virtual methods? How are they used?
Answers were Sorted based on User's Feedback
Answer / betty
virtual methods is applied in polymorphism. When you declare
a method as virtual, you can override the method in another
class.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / chinju
virtual methods are methods that do not really exists but
act as exist in some part of a program.Keyword virtual is used.
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / chandana
virtual methods are method definitions without
implementations specified. Such methods are a part of
abstract classes, which can not be instantiated. Any non-
abstract child class must provide implementation for these
classes.
| Is This Answer Correct ? | 1 Yes | 7 No |
What is default value of bool in c#?
What is the difference between values and reference types?
Explain jagged arrays in c#?
Can we use "this" command within a static method?
int a = '3' + '4'; char n = (char)a; What will be answer of n?
What is an assembly in .net?
Explain the Usage of web.config
Can a child class call the constructor of a base class?
Explain the difference between user control and custom control. Also, explain their use.
Will finally block get executed if the 1exception had not occurred?
Why do we use parameters in c#?
Why is it a bad idea to throw your own exceptions?
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)