HOW TO USE FOR...NEXT LOOP IN VB.NET

Ankit Singh

Total Post:341

Points:2389
Posted by  Ankit Singh
VB.Net 
 519  View(s)
Ratings:
Rate this:
I want to use  For...Next Loop in vb.net how to do this please give me solution.
  1. aditya kumar Patel

    Post:254

    Points:1810
    Re: How to use For...Next Loop in vb.net

    It repeats a group of statements a specified number of times and a loop index counts the number of loop iterations as the loop executes.

    Module Module1
        Sub Main()
            Dim a As Integer
            For a = 50 To 80
                Console.WriteLine("value of a: {0}", a)
            Next
            Console.ReadLine()
        End Sub
    End Module

      Modified On Dec-22-2015 10:27:50 PM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!