string Join(string sep, string[] arr)
{
StringBuilder builder = new StringBuilder();
foreach (var str in arr)
{
builder.Append(str + sep);
}
return builder.Length > 0 ? builder.Remove(builder.Length - 1, 1).ToString() : "";
}
int IndexOf(string str, string search)
{
if (search.Length > str.Length)
return -1;
for (int i = 0; i < str.Length - search.Length; i++)
{
for (int j = 0; j < search.Length; j++)
{
if (str[i + j] != search[j])
break;
if (j == search.Length - 1)
return i;
}
}
return -1;
}Vaktim olursa diğerlerini de yazarım hocam veya bunlardan çıkarım yaparak siz uğraşabilirsiniz. Bug vs. olabilir çok detaylı deneyemedim