Immediate Windows Problem !!

P

Paul Tsai

Dear All,

private void button1_Click(object sender, System.EventArgs e)
{
string a = "22222";
string b = "23456";<--------break point
}

My problem is why I get the following error message when I stop at the break
point and debug in the Immediate Window?
(In VB.net, it doesn't)

?a.Substring(0,2)
error: 'a.Substring' does not exist

Thanks a lot !!

Best regards,
Paul
 
M

Mohamoss

Hi
where do you place your break point? , I have been trying it but can't see
any error

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top