R
raqib.rafique
The immediate window in Vs.NET is giving me problems when i use it with
C#. Simple example is
I have the following line of code in a function
String MyString = "abc.doc";
Then I put a breakpoint on it, when i debug the application and it goes
into that break, I goto immediate window and type
?MyString
it shows abc.doc
but when I want to test for something else like
?MyString.ToUpper() or ?MyString.ToUpper()
it gives error
error: managed EE does not understand expression's syntax
I have tried this in VB.NET and there is nooooooo problem at all. But
it is not working in csharp. Please let me know how to deal with it. I
need to use immediate window to evaluate certain expressions/methods at
run time.
Thanks in advance.
Raqib ([email protected])
C#. Simple example is
I have the following line of code in a function
String MyString = "abc.doc";
Then I put a breakpoint on it, when i debug the application and it goes
into that break, I goto immediate window and type
?MyString
it shows abc.doc
but when I want to test for something else like
?MyString.ToUpper() or ?MyString.ToUpper()
it gives error
error: managed EE does not understand expression's syntax
I have tried this in VB.NET and there is nooooooo problem at all. But
it is not working in csharp. Please let me know how to deal with it. I
need to use immediate window to evaluate certain expressions/methods at
run time.
Thanks in advance.
Raqib ([email protected])