WPF C# Tutorial

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shapes;
    class MainClass : Window
    {
        [STAThread]
        public static void Main()
        {
            Application app = new Application();
            app.Run(new MainClass());
        }
        public MainClass()
        {
            Ellipse elips = new Ellipse();
            elips.Fill = Brushes.AliceBlue;
            elips.StrokeThickness = 24;     // 1/4 inch
            elips.Stroke = new LinearGradientBrush(Colors.CadetBlue, Colors.Chocolate,new Point(1, 0), new Point(0, 1));
            Content = elips;
        }
    }