Hi Cecilers :)
Is there any way to differ between a C# virtual method (not IL virtual) and
interface implementation method?
To clarify what I mean, in the example below, what is the difference between
"InterfaceMethod" and "VirtualMethod" in "MyClass" class?

Here is the example:

-----------START OF EXAMPLE ------------------

public interface ISomething{
void InterafaceMethod();
}

public class MyClass:ISomething{

public void InterfaceMethod()
{
}

public virtual void VirtualMethod()
{
}
}

-----------END OF EXAMPLE ------------------

thank you all


CECIL is GREAT!

--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to