Significance of the Static and Virtual
-
Hi, This might seem pretty basic but can anybody explain why and/or when a method should have the static or virtual? i.e. public static void Method1() {} Thanks, Prateek
-
Hi, This might seem pretty basic but can anybody explain why and/or when a method should have the static or virtual? i.e. public static void Method1() {} Thanks, Prateek
I think they are very well described in BOL with examples: - static (C# Reference)[^] - virtual (C# Reference)[^]
The need to optimize rises from a bad design.My articles[^]
-
I think they are very well described in BOL with examples: - static (C# Reference)[^] - virtual (C# Reference)[^]
The need to optimize rises from a bad design.My articles[^]
I guess i should have checked msdn first before posting the question. :doh: Thanks :)
-
I guess i should have checked msdn first before posting the question. :doh: Thanks :)