[csharp/pt-br] Update csharp-pt.html.markdown

Translation of comments.
This commit is contained in:
daniloyamauti 2018-10-31 08:45:05 -03:00 committed by GitHub
parent 4d9778c098
commit fd5ee982bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -522,7 +522,7 @@ on a new line! ""Wow!"", the masses cried";
foreach (var key in responses.Keys) foreach (var key in responses.Keys)
Console.WriteLine("{0}:{1}", key, responses[key]); Console.WriteLine("{0}:{1}", key, responses[key]);
// DYNAMIC OBJECTS (great for working with other languages) // OBJETOS DINÂMICOS (ótimo para trabalhar com outros idiomas)
dynamic student = new ExpandoObject(); dynamic student = new ExpandoObject();
student.FirstName = "First Name"; // No need to define class first! student.FirstName = "First Name"; // No need to define class first!
@ -730,10 +730,10 @@ on a new line! ""Wow!"", the masses cried";
set { _hasTassles = value; } set { _hasTassles = value; }
} }
// You can also define an automatic property in one line // Você também pode definir uma propriedade automática em uma linha
// this syntax will create a backing field automatically.         // Esta sintaxe criará um campo de apoio automaticamente.
// You can set an access modifier on either the getter or the setter (or both)         // Você pode definir um modificador de acesso no getter ou no setter (ou ambos)
// to restrict its access:         // para restringir seu acesso:
public bool IsBroken { get; private set; } public bool IsBroken { get; private set; }
// Properties can be auto-implemented // Properties can be auto-implemented