Interface Small Example

Source: Internet
Author: User

usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespaceconsoleapplication1{classProgram {Static voidMain (string[] args)        {Console.read (); }        /// <summary>        ///boss, can not work, is not the development of software///for the boss, he doesn't know how to do the project.///He just tells people that I'm going to develop the software to do the project./// </summary>        Abstract classBoss { Public Abstract voidDoprogram ();//do the project        }        /// <summary>        ///programmers who are really being squeezed by the bottom/// </summary>        classProgrammer: Boss { Public Override voidDoprogram ()//do the project            {                //Specific Implementation Development            }        }        /// <summary>        ///investors don't know the existence of programmers .///an investor (someone who wants to do something and not do it.)        Someone tells the investor who can do the project, the investor does not care who will do it and only cares about having the item to get the hand. /// </summary>        classInvestment Party { PublicThe boss the boss invests in;//boss Role             Public voidSetacompany (boss who won the bid)//The boss doesn't develop the project, so it comes in the programmer. Multi-State! {The boss the investor wants=the boss of winning the bid; The owner of the investor's side. Doprogram ();//don't care who's going to finish the project so            }        }    }}

Interface Small Example

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.