Hack Forums
[C#] Got an out of range exception - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] Got an out of range exception (/showthread.php?tid=6086897)



Got an out of range exception - Kαѕρer - Jun 12, 2020

Hello,

Would anyone be able to help me out to fix an error?

https://gyazo.com/10f3c024961a17a01b60a5770b69b295

I can give more info in a DM or send you the project.

Thanks anyways!


RE: Got an out of range exception - SaketSaket - Jun 12, 2020

An ArgumentOutOfRangeException exception is thrown when a method is invoked and at least one of the arguments passed to the method is not null and contains an invalid value that is not a member of the set of values expected for the argument.


RE: Got an out of range exception - vaiperboy - Jun 13, 2020

well the error really explains itself, what's there more to it?

if we can't see the snippet of the code you're talking about, no one can help you


RE: Got an out of range exception - kray - Jun 14, 2020

I can help you fix it; just threw you a PM.