コード例 #1
0
ファイル: Program.cs プロジェクト: GGSimmons1992/gary-ms
        static void PlayWithGeneric()
        {
            var g1 = new glm.Client();
            var g2 = new glm.Client();

            foreach (var item in glm.Client.Clients.Peoples)
            {
                Console.WriteLine("{0}\n{1}", item.Name, item.Title);
            }
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: jdbrouwer3/john-ms
        static void PlayWithGeneric()
        {
            var c1 = new glm.Client();
            var c2 = new glm.Client();

            // var clientele = new glm.Client();

            foreach (var item in glm.Client.Clients.Peoples)
            {
                Console.WriteLine("{0}\n{1}", item.Name, item.Title); //the {0}.. is place holder for the first item, new line, holder for second item
            }
        }