Timeline for Could implicit static methods cause problems?
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 17, 2012 at 16:02 | comment | added | NoChance | @JohnSaunders, Oh! And you know about this stuff too? Of course, I did not know that - Nice catch. | |
| Aug 17, 2012 at 15:53 | comment | added | John Saunders | The clue was the "(v=vs.71)" in the URL. | |
| Aug 17, 2012 at 15:30 | comment | added | NoChance | @JohnSaunders, no I didn't, I wish I was as observant as you are :) | |
| Aug 17, 2012 at 15:07 | comment | added | John Saunders | @EmmadKareem: BTW did you notice that your link is from Visual Studio 2003? | |
| Aug 17, 2012 at 12:26 | history | edited | NoChance | CC BY-SA 3.0 | added 69 characters in body |
| Aug 17, 2012 at 12:22 | comment | added | NoChance | @WinstonEwert, now I see your point, this was a typo. I am clear about the difference....Thanks. | |
| Aug 17, 2012 at 12:18 | comment | added | Winston Ewert | You seem to be conflating methods and classes. Classes have fields, methods do not. | |
| Aug 17, 2012 at 11:59 | comment | added | NoChance | @WinstonEwert, thanks for your comment. I brought up static fields because the compiler (or a person) can't convert a non-static method to a static method without careful examination of the static property of its fields whether those are explicitly defined or implicitly defined by other methods such as Trim. That is why in the documentation of classes, MS specifies clearly when a function is thread safe or not. | |
| Aug 17, 2012 at 11:54 | comment | added | NoChance | @JohnSaunders, thanks for letting me know about your concern. C# allows you to define a fields and properties in classes. I am not clear why do you say it does not. See for example: msdn.microsoft.com/en-us/library/aa645751(v=vs.71).aspx | |
| Aug 17, 2012 at 3:41 | comment | added | Winston Ewert | I'm not clear why you've brought up static fields since there aren't any fields in the question. | |
| Aug 17, 2012 at 3:30 | history | answered | NoChance | CC BY-SA 3.0 |