C# Tutorial part 7 Why we use loops



Now lets start over first application in C#.



Step 1:

Goto the search manu and start your visual studio...




Step 2:





  • Click on new program
  • Select language as visual c#
  • Select Console application
  • Name that application 
  • And click on next
                           



Step 3:



  • Write that code on your window screen
  • Then right click on project solution tab
  • And built the project
  • Then Start Debugging 
  • If we want to write table of 2 then we have to put all of these code




But with the help of loop we have to write these three lines of code and output will same ....



Output will be :


Feature video:




                                                             
                                                              Thank you !

Post a Comment

Previous Post Next Post