Hello,
I have been working on a project with no problems for a few monhs now.
All of a sudden I am getting errors when trying to declare a variable.
I Have the foloowing code:
string DataToParse = "";
string Ra = "";
DataToParse = File.ReadAllText(UploadedFileName);
Ra = File.ReadAllText(UploadedFileName);
The first variable "DataToParse" I have been using for months now.No
problem
The second one, Ra, I get "The name 'Ra' does not exist in the current
context"
I have tried to rename it, I tried just setting it to a random string.
(many times)
I even tried shutting down the computer.
When I put my curser over it when not debugging it shows as a local
variable, but during debugging it doesnt show anything when i put the
cursor over it.
This is freaking me out.
What can be the problem?
Thanks
Mike
Jeff Johnson - 11 Mar 2008 16:10 GMT
> I have been working on a project with no problems for a few monhs now.
> All of a sudden I am getting errors when trying to declare a variable.
This looks like it's a C# syntax question and not a question about the
Visual Studio IDE, which is what this group is for. Try
microsoft.public.dotnet.languages.csharp.