Board index » Visual Studio » Why this warning in IDE?
|
RobNason
|
Why this warning in IDE?
Visual Studio287
Dim Myfiles() as string Myfiles(0) = "filename1" I get a warning on line myfiles(0)=.. that myfiles has been used before it has been assigned a value a null exception may occur. Obviously this is bs, since I am in the process of assigning a value at that instant in code. How do I prevent this warning from appearing? Maybe I should code this in a different way? Any help would be appreciated. Bob - |
