📌  相关文章
📜  如何使用 c# 代码示例在字符串中查找元素的索引

📅  最后修改于: 2022-03-11 14:48:53.957000             🧑  作者: Mango

代码示例1
string string1 = "A man i hurry just jumped on a tail of a dog and dog has bit him damagingly";
Console.WriteLine(string1.IndexOf("man"));
//output
2