following code gives you starting index of your name in the file, for complete code send complete file structure.
string Name="Xeshan";
StreamReader file=new StreamReader(@"c:\abc.txt");
string filecontent = file.ReadToEnd();
int StartIndex = filecontent.Contains(Name) ? filecontent.IndexOf(Name) : -1;