G
Guest
Hi,
I created a C# application which is using many private variables.
I'm working on VS .NET 2003 and have the following error (whereas the
variable is used in the method of the class !) :
"warning CS0169: The private field 'Canal.ConnectForm.statusImg' is never
used !
I don't understand because I'm using the variable at 2 different places in
the class :
- In the constructor, I'm using the following code : "statusImg = false;"
- In a private method of the class, I'm using the following code :
"statusImg = true;"
If someone has an idea of the problem ?
Thanks in advance.
-
I created a C# application which is using many private variables.
I'm working on VS .NET 2003 and have the following error (whereas the
variable is used in the method of the class !) :
"warning CS0169: The private field 'Canal.ConnectForm.statusImg' is never
used !
I don't understand because I'm using the variable at 2 different places in
the class :
- In the constructor, I'm using the following code : "statusImg = false;"
- In a private method of the class, I'm using the following code :
"statusImg = true;"
If someone has an idea of the problem ?
Thanks in advance.
-