private String ExtractTypeName( String name ) { int index = name.LastIndexOf('.'); return index == -1 ? name : name.Substring(index+1); } }