Which ordering is preferable for the keyword overrideand access method ( public, privateetc.) for the methods? It seems that both are as follows:
public override string ToString ()
{
return "access modifier first";
}
override public string ToString ()
{
return "override keyword first";
}
In Java, the order of execution of keywords is usually applied, so this flexibility seems amazing. Obviously, this flexibility is also present in Java ( static public void main (String [] args)works ...).
source
share