GetMass(this cAreaObj obj, string Name) { double MassOverL2; MassOverL2 = default(double); var res = obj.GetMass(Name, ref MassOverL2); return(MassOverL2); }