summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobson Alves <nosbor89@hotmail.com>2015-10-12 07:38:30 -0300
committerRobson Alves <nosbor89@hotmail.com>2015-10-12 07:38:30 -0300
commit6a6ac5560f6ec2813bff60b660b21d24bd80d011 (patch)
tree8d2956df511b4d522ba2e9146456f3c9bbe636bc
parentda6fc10553b457ef0d8ceb4f8898dfb2c5ddbbdd (diff)
Included new more words to pt-br
-rw-r--r--pt-br/csharp.html.markdown16
1 files changed, 8 insertions, 8 deletions
diff --git a/pt-br/csharp.html.markdown b/pt-br/csharp.html.markdown
index deba2263..02098ca8 100644
--- a/pt-br/csharp.html.markdown
+++ b/pt-br/csharp.html.markdown
@@ -270,20 +270,20 @@ on a new line! ""Wow!"", the masses cried";
// For Each Loop
// Estrutura do foreach => foreach(<Tipo Iterador> <Nome do Iterador> in <enumerable>)
- // The foreach loop loops over any object implementing IEnumerable or IEnumerable<T>
- // All the collection types (Array, List, Dictionary...) in the .Net framework
- // implement one or both of these interfaces.
- // (The ToCharArray() could be removed, because a string also implements IEnumerable)
+ // O laço foreach percorre sobre qualquer objeto que implementa IEnumerable ou IEnumerable<T>
+ // Toda a coleção de tipos (Array, List, Dictionary...) no .Net framework
+ // implementa uma ou mais destas interfaces.
+ // (O ToCharArray() pode ser removido, por que uma string também implementa IEnumerable)
foreach (char character in "Hello World".ToCharArray())
{
//Iterated over all the characters in the string
}
// Switch Case
- // A switch works with the byte, short, char, and int data types.
- // It also works with enumerated types (discussed in Enum Types),
- // the String class, and a few special classes that wrap
- // primitive types: Character, Byte, Short, and Integer.
+ // Um switch funciona com os tipos de dados byte, short, char, e int.
+ // Isto também funcional com tipos enumeradors (discutidos em Tipos Enum),
+ // A classe String, and a few special classes that wrap
+ // tipos primitívos: Character, Byte, Short, and Integer.
int month = 3;
string monthString;
switch (month)