A Andrew Chalk Nov 3, 2003 #1 Is there a C# equivalent to local static data. I.e. in C: int fred() { static int halibut = 0; ... ... return (..); } Thanks.
Is there a C# equivalent to local static data. I.e. in C: int fred() { static int halibut = 0; ... ... return (..); } Thanks.
F Fred Mellender Nov 3, 2003 #2 No such thing. I think the language designers want you to use static data in some class for that purpose.
No such thing. I think the language designers want you to use static data in some class for that purpose.