Example #1
0
 public static string NameOfStuff(Djur d)
 {
     return(d.ToString().Substring(d.ToString().LastIndexOf('.') + 1));
 }
Example #2
0
 public static string getName(Djur d)
 {
     return(d.ToString().Substring(d.ToString().LastIndexOf(".") + 1));
 }