Once I’ve created a variable in the immediate window in C# (VS2008), is there any way to delete it so I can create a new variable with the same name but a different type? Apart from restarting the program that is.
The reason would be to keep the immediate window’s namespace clean, since it’s difficult to keep track of variable declarations once they scroll off the visible part of the window.
I don’t think it is possible to do what you are asking.