Help my to understand some points

Updated on September 6, 2017 in [A] C# .Net
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
0 on September 6, 2017

Hi guys , I study C sharp Right Now and I’ve Some Confused With Point of nested loop By using “While Keyword” . 


My target is to create a multiplication table, so I wrote the following code Like You see 



but the result in not correct as you see guys.


So I do some searching and I found the correct way like this



So I just want to understand  why I should put the variable w2 into first  “while Loop” and I already declare it in above as you can see?


Why the nested While loop dose not work again after Complete table one?  


What is really happen ?     

  • Liked by