How to set local variables automatically?
- From: "Iwan Petrow" <xxxxyz@xxxxxx>
- Date: 12 Apr 2005 23:57:21 -0700
Hi,
Are there any options to set local variables in methods automatically
(in Visual Studio 2003)?
Example:
public void Method(){
int i; //I want i=0
ArrayList a; //I want a=null
i++;//compile time error
if (a==null) //compile time error
...
}
Thanks.
.
- Follow-Ups:
- Re: How to set local variables automatically?
- From: Michael C
- Re: How to set local variables automatically?
- Prev by Date: newbie help: is this possible pls?
- Next by Date: Re: newbie help: is this possible pls?
- Previous by thread: newbie help: is this possible pls?
- Next by thread: Re: How to set local variables automatically?
- Index(es):
Relevant Pages
|