summaryrefslogtreecommitdiffhomepage
path: root/pt-br/csharp-pt.html.markdown
diff options
context:
space:
mode:
authordaniloyamauti <33129352+daniloyamauti@users.noreply.github.com>2018-10-31 08:45:05 -0300
committerGitHub <noreply@github.com>2018-10-31 08:45:05 -0300
commitfd5ee982bc9f2f10bafb8b4d7cf15c15e646da10 (patch)
treedafaf6174123b1ca9730715708cac98f80cfc635 /pt-br/csharp-pt.html.markdown
parent4d9778c0988c324d0e520fd460026b39f9f73ccf (diff)
[csharp/pt-br] Update csharp-pt.html.markdown
Translation of comments.
Diffstat (limited to 'pt-br/csharp-pt.html.markdown')
-rw-r--r--pt-br/csharp-pt.html.markdown10
1 files changed, 5 insertions, 5 deletions
diff --git a/pt-br/csharp-pt.html.markdown b/pt-br/csharp-pt.html.markdown
index be14a1c8..3d84f91f 100644
--- a/pt-br/csharp-pt.html.markdown
+++ b/pt-br/csharp-pt.html.markdown
@@ -522,7 +522,7 @@ on a new line! ""Wow!"", the masses cried";
foreach (var key in responses.Keys)
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();
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; }
}
- // You can also define an automatic property in one line
- // this syntax will create a backing field automatically.
- // You can set an access modifier on either the getter or the setter (or both)
- // to restrict its access:
+ // Você também pode definir uma propriedade automática em uma linha
+        // Esta sintaxe criará um campo de apoio automaticamente.
+        // Você pode definir um modificador de acesso no getter ou no setter (ou ambos)
+        // para restringir seu acesso:
public bool IsBroken { get; private set; }
// Properties can be auto-implemented