Maruthi Palllamalli
Perfect Example Of While And Do-While Loop In C#.Net ?
By Maruthi Palllamalli in .NET on Dec 09 2015
  • Keshav Chauhan
    Dec, 2016 26

    while loop check first condition if it is satisfied then it will run further. Do-while loop initially skip first time condition check and start running but very second time it will check condition and start running.

    • 1
  • Maruthi Palllamalli
    Dec, 2015 9

    sqlconnection con=new sqlconnection(@connectionstring);int i=0; while(connection is open) { i++; } it is increment and check i=0; do { i++; }while(connection is open)

    • 1

Most Popular Job Functions