D DNB Feb 3, 2009 #1 I am wondering what is the difference between the following 2 functions public static Test1() { } Static public Test1() { } --Pa Ji
I am wondering what is the difference between the following 2 functions public static Test1() { } Static public Test1() { } --Pa Ji
G Gareth Erskine-Jones Feb 4, 2009 #2 I am wondering what is the difference between the following 2 functions public static Test1() { } Static public Test1() { } Click to expand... No real difference. A matter of taste. I think most people prefer the first style. Neither example will compile btw - you've omitted the return type.
I am wondering what is the difference between the following 2 functions public static Test1() { } Static public Test1() { } Click to expand... No real difference. A matter of taste. I think most people prefer the first style. Neither example will compile btw - you've omitted the return type.
J Jeff Johnson Feb 4, 2009 #3 (It's pretty bad when you have to point out your own errors in a reply to someone's post instead of someone else doing it for you ) Click to expand... I far prefer finding and fixing my own mistakes to having others do it for me.
(It's pretty bad when you have to point out your own errors in a reply to someone's post instead of someone else doing it for you ) Click to expand... I far prefer finding and fixing my own mistakes to having others do it for me.