Can you declare the override method static while the
original method is non-static?
Answer Posted / 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 |
Post New Answer View All Answers
Can a method be sealed in c#?
What is args c#?
What is the difference between dictionary and hashtable in c#?
What is an indexer in c#?
List down the commonly used types of exceptions in .net
What is extension method in c# and how to use them?
What is xslt in c#?
Why do we use polymorphism in c#?
If I want to override a method one of class A and in class b then how do you declare?
What is datagrid c#?
In a C# class we have a SortedList member m_addinProjects
we want to provide an iterator to allow the consumer of
this class access to the items in the collection. Please
provide an iterator method for the AnalyzeAddinsDLL class
below and an example of how it would be used.
namespace AnalyzeAddinsDLL
{
public class AllAddInProjects
{
private SortedList
What are some examples of desktop applications?
What is the difference between firstordefault and singleordefault?
What is the difference between ienumerable and iqueryable?
how to sort an array in c#