Anfanger Posted November 11, 2007 at 02:12 AM Report Share #146680 Posted November 11, 2007 at 02:12 AM Viva, gostava de saber se já alguém teve curiosidade em ver como estão feitas algumas das classes da BCL (Base Class Library) da plataforma .NET, eu tive curiosidade e descobri o reflector, mas acontece que ao analizar algumas classes, nomeadamente a classe Console, surgem-me algumas duvidas. Acham que podia-mos discutir este tema aqui ? Para começar, por exemplo com a classe Console e método WriteLine: [HostProtection(SecurityAction.LinkDemand, UI=true)] public static void WriteLine(string value) { Out.WriteLine(value); } Notes: Writes the specified string value, followed by the current line terminator, to the standard output stream. Parameters value The value to write. eu percebo a função, não percebo é a primeira linha de todas ... Cumps 😛 Link to comment Share on other sites More sharing options...
Betovsky Posted November 11, 2007 at 12:02 PM Report Share #146707 Posted November 11, 2007 at 12:02 PM Isso são Atributos. Podes ler mais sobre isso, aqui. http://msdn2.microsoft.com/en-us/library/z0w1kczw(VS.80).aspx "Give a man a fish and he will eat for a day; Teach a man to fish and he will eat for a lifetime. The moral? READ THE MANUAL !" Sign on a computer system consultant's desk Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now