This is my c# program.. This program takes user information. Anyone can help me. I'm stuck in this program which error in this p | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

This is my c# program.. This program takes user information. Anyone can help me. I'm stuck in this program which error in this p

https://code.sololearn.com/cm57FZtifC4X/?ref=app

6th May 2021, 12:12 PM
Kamal Shakya
Kamal Shakya - avatar
4 Answers
+ 1
https://code.sololearn.com/cS0wm5u63Ad4/?ref=app
6th May 2021, 1:59 PM
Atul [Inactive]
+ 1
Indexing was wrong it starts from 0
6th May 2021, 1:59 PM
Atul [Inactive]
+ 1
The index can start from 0, the real problem is the number of indexes, you are passing 6 values but you are trying to print 8. Delete. {6} and {7} in the Console.WriteLine statement and it will be ok.
11th May 2021, 7:31 PM
Victor Lantigua
Victor Lantigua - avatar
+ 1
Thanks buddy
12th May 2021, 4:35 PM
Kamal Shakya
Kamal Shakya - avatar