How do you invoke a method call in the immediate mode window of VS.NET?

Specifically I was trying to invoke Substring() like this...

    >immed
    s
    "D:\T\p\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe"
    s.Length
    60
    s.Substring(0, 4)
    error: 's.Substring' does not exist

As you see I got the weird error about s.Substring() not existing.

So how do you call method from the immediate window?

Thanks...David

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to