Can you declare the override method static while the
original method is non-static?
Answers were Sorted based on User's Feedback
Answer / guest
No, you can?t, the signature of the virtual method must
remain the same, only the keyword virtual is changed to
keyword override.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / kishore.a
To override an method we need to explicitly mention
override keyword in the child class and virtual or abstract
keyword in base class.
Here in this case neither of the keywords are used.Hence it
is not possible..
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / ashish gupta
I don think so...
even static members can not be marked as a virtual,abstract
or override.
| Is This Answer Correct ? | 5 Yes | 0 No |
What is constructor overloading in c#?
What is the relationship between a process, application domain, and application?
Explain the difference between const and static read-only?
Why can?t you specify the accessibility modifier for methods inside the interface?
3 Answers Mind Tree, Siebel Systems,
How to add controls dynamically to the form using c#.net.
what is the difference between c-sharp and vb.net?What kind of security or advances we find in both languages?
in a town the percentage of total men is 52. the percentage of total literacy is 48. if total percentage of literate men is 35 of total population. write a program to find out the total no of illiterate men and women.
Hi Everyone, the design of the form disappear during writing codes for dataset and data grid. The error show in "line of assigning dataset". I don't know what's happen. If anyone know , please share of technical help from someone. Thanks, Horace Trever
Why it's said that writing into .NET Application Configuration Files is a Bad Idea?
What does typeof return c#?
What are the different generaions of Garbage Collection and how do they work
How do you mark a method obsolete?
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)