コード例 #1
0
ファイル: GoF.State.cs プロジェクト: igorlpa/Estudo_CSharp
        public static void Main(String[] args)
        {
            TCPConnection con = new TCPConnection();

            con.Send();
            con.Close();
            con.Open();
            con.Open();
            con.Send();
            con.Close();
            con.Send();

            Console.WriteLine("fim");
            Console.ReadLine();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: ArishiMonth/DesignMode
        static void Main(string[] args)
        {
            TCPConnection tcp = new TCPConnection();

            tcp.Open();
            tcp.Acknowledge();
            tcp.Close();
            Console.ReadLine();
        }