Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
what are the instance variables in c#
Posted
Updated 21-Feb-12 2:31am
v2
Comments
Ed Nutting 19-Feb-12 5:42am    
Please stop asking these questions - use Google and the MSDN website to find out what you want to know.

See here[^].
An instance variable is created during the execution of some code and may last for the lifetime of the program or just within one small method.
 
Share this answer
 
Comments
Ed Nutting 19-Feb-12 5:43am    
Just a shame the OP can't use MSDN for finding things himself... see his other question(s).

Edit: My 5+ for this answer.
Richard MacCutchan 19-Feb-12 5:52am    
Him and plenty of others; goodness knows how they manage the other aspects of their lives.
Ed Nutting 19-Feb-12 5:54am    
Too true... :)
Please see
Section 12.1.2 of Ecma-334[^].

:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900