Included new more words to pt-br

This commit is contained in:
Robson Alves 2015-10-12 07:38:30 -03:00
parent da6fc10553
commit 6a6ac5560f

View File

@ -270,20 +270,20 @@ on a new line! ""Wow!"", the masses cried";
// For Each Loop // For Each Loop
// Estrutura do foreach => foreach(<Tipo Iterador> <Nome do Iterador> in <enumerable>) // Estrutura do foreach => foreach(<Tipo Iterador> <Nome do Iterador> in <enumerable>)
// The foreach loop loops over any object implementing IEnumerable or IEnumerable<T> // O laço foreach percorre sobre qualquer objeto que implementa IEnumerable ou IEnumerable<T>
// All the collection types (Array, List, Dictionary...) in the .Net framework // Toda a coleção de tipos (Array, List, Dictionary...) no .Net framework
// implement one or both of these interfaces. // implementa uma ou mais destas interfaces.
// (The ToCharArray() could be removed, because a string also implements IEnumerable) // (O ToCharArray() pode ser removido, por que uma string também implementa IEnumerable)
foreach (char character in "Hello World".ToCharArray()) foreach (char character in "Hello World".ToCharArray())
{ {
//Iterated over all the characters in the string //Iterated over all the characters in the string
} }
// Switch Case // Switch Case
// A switch works with the byte, short, char, and int data types. // Um switch funciona com os tipos de dados byte, short, char, e int.
// It also works with enumerated types (discussed in Enum Types), // Isto também funcional com tipos enumeradors (discutidos em Tipos Enum),
// the String class, and a few special classes that wrap // A classe String, and a few special classes that wrap
// primitive types: Character, Byte, Short, and Integer. // tipos primitívos: Character, Byte, Short, and Integer.
int month = 3; int month = 3;
string monthString; string monthString;
switch (month) switch (month)