Example #1
0
        static void Main(string[] args)
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("ZylLib.UnionTypes.ConsoleExample");
            sb.AppendLine();
            UnionTypesExample.Output(sb);
            // show.
            Console.WriteLine(sb.ToString());
        }
Example #2
0
        private void btnInfo_Click(object sender, RoutedEventArgs e)
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("ZylLib.UnionTypes.SilverlightExample");
            sb.AppendLine();
            UnionTypesExample.Output(sb);
            // show.
            txtOut.Text = sb.ToString();
        }