Link to home
Start Free TrialLog in
Avatar of anagm
anagm

asked on

simplifying the code snippet

how do i simplify the below code

class Class1
    {
        public static void Main()
        {
            System.Windows.Forms.Label lbl = new System.Windows.Forms.Label();
            lbl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            lbl.Dock = System.Windows.Forms.DockStyle.Left;
        }
    }

any help would be appreciated

Thanks,
anagm
ASKER CERTIFIED SOLUTION
Avatar of Zamba1
Zamba1

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial