Beispiel #1
0
        public personInfo setNameAgeJson(string n, string a)
        {
            personInfo p = new personInfo();

            p.name = n;
            p.age  = Int32.Parse(a);
            return(p);
        }
Beispiel #2
0
        public string set(string n)
        {
            personInfo p = new personInfo();

            p.name = n;
            p.age  = 10;
            return(p.name);
        }
Beispiel #3
0
        public personInfo setNameAge(string n, int a)
        {
            personInfo p = new personInfo();

            p.name = n;
            p.age  = a;
            return(p);
        }