I am looking for differences between those 3 ways of using static class in asp.net application scope. Will all of these point to the same class? Which one is preferable >object< defined declaratively inside global.asax or static class ?
examples:
<object runat="server" scope="application" class="classname" ID="objID"></object>
VS
public static class classname {}
VS
Application("a") = new classname();