public static void function()
static public void function()
In casual speech we often say things like, “The fruitcake he gave me was the exact same one I'd given him last Christmas,” but in formal English the phrase is “exactly the same.”
"Exact same" tells the reader or listener that you mean same in its most literal sense and do not mean that the two things are simply very similar but are exact. Ultimately, whether exact in "exact same" is a redundant adjective or an idiomatic adverb is of secondary importance.
We can use same as an adjective before a noun or as a pronoun. When we use same to compare people or things, we must use it with the: I noticed that Richard and I were both wearing the same jacket.
Yes. They are the same.
By convention, people usually put the access modifier first. However it has no effect on the generated IL which both end up as:
.method public hidebysig static void function() cil managed
Yes they are essentially the same, however Microsoft perfers the access modifier to come first.
See the following post for more detail.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With