示例#1
0
        public string DomainFelepites(int szint)
        {
            string[] output = new string[5];
            //output =  Nev.Split('.');

            for (int i = 0; i < output.Length; i++)
            {
                if (Nev.Split('.').Length > i)
                {
                    output[i] = Nev.Split('.').Reverse().ToList()[i];
                }
                else
                {
                    output[i] = "nincs";
                }
            }

            return(output[szint - 1]);
        }
示例#2
0
        public Atleta(string sor)
        {
            string Nev;



            string[] a = sor.Split(';');
            Rajtszam = a[0];


            Nev = a[1];

            string[] b = Nev.Split(' ');
            VezNev = b[0];
            KerNev = b[1];

            Egyesulet = a[2];
            Ugras     = Convert.ToInt32(a[3]);
        }