public double Convert(Grams grams)
 {
     return(this.grams);
 }
 public double Convert(Grams gramsObject)
 {
     return(this.kilogram * 1000);
 }