locked
Break method in vb.net RRS feed

  • Question

  • User1067346975 posted

    Hello all,

    Do you know what is break method in vb.net, because in C# break method statement is break, what is it in vb.net?

    For example in C#:

    1    for (i=0; i<10; i++)
    2    { if (i>=7) then
    3      { break;
    4      }
    5    }
    

     In VB.Net

    1    for i=0 to 10
    2      if (i&gt;=7) then
    3        'what is break statement in vb.net?
    4      end if
    5    next
    
      

    Thanks.

    Friday, May 15, 2009 5:46 AM

Answers

All replies