实例:
string mystring = "012.345.678.9"; int i = mystring.LastIndexOf('.', (mystring.LastIndexOf(".") - 1));