using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sample { public class Sample008 { double d; int i; float f; string s; public Sample008(double d, int i, float f, string s) { this.d = d; this.i = i; this.f = f; this.s = s; } public string GetText() { return String.Format("double:{0}, int:{1}, float:{2}, string:{3}", this.d, this.i, this.f, this.s); } } }