3
Answers

C# Language

waseem shaikh shaikh

waseem shaikh shaikh

12y
1.1k
1
I m sending file of (C#).cs
plz corrent my this code.i m adding a multiple veriables in a list but run time exception will occur.

Exception is :



System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative
and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argu
ment, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at MainListProgram.Main(String[] arg)


Answers (3)