Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can you declare the override method static while the
original method is non-static?

Answers were Sorted based on User's Feedback



Can you declare the override method static while the original method is non-static?..

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

Can you declare the override method static while the original method is non-static?..

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

Can you declare the override method static while the original method is non-static?..

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

Can you declare the override method static while the original method is non-static?..

Answer / saubhagya

No

Is This Answer Correct ?    3 Yes 0 No

Can you declare the override method static while the original method is non-static?..

Answer / kishore

No we cannot declare ovverride method of static while the
first one is non static..

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is constructor overloading in c#?

0 Answers  


What is the relationship between a process, application domain, and application?

0 Answers  


Explain the difference between const and static read-only?

0 Answers  


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.

0 Answers  


what is the difference between c-sharp and vb.net?What kind of security or advances we find in both languages?

3 Answers   DataPoint,


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.

3 Answers   HCL,


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

1 Answers  


Why it's said that writing into .NET Application Configuration Files is a Bad Idea?

0 Answers   DELL,


What does typeof return c#?

0 Answers  


What are the different generaions of Garbage Collection and how do they work

4 Answers  


How do you mark a method obsolete?

0 Answers  


Categories