An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
Additional information: Index and length must refer to a location within the string.
کسی میدونه این ارور چیه؟
An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
Additional information: Index and length must refer to a location within the string.
کسی میدونه این ارور چیه؟
ایندکس آرایه خارج از محدوده ست( یا کوچکتر از صفره یا بیشتر از طول آرایه)
مثلا:
string s="hi";
Console.Write(s[10]);
من یه برنامه دارم که معنی یه لغتو از گوگل بیرون میکشه و داخل برنامه نشون میده قبلا کار میکرد ولی الان داره ارور میده نمیدونم چرا؟
برنامه