Merge pull request #3374 from thiagofribeiro/patch-3

[csharp/pt-br] Missing translation
This commit is contained in:
Divay Prakash 2018-10-31 19:03:11 +05:30 committed by GitHub
commit 549fbdf0fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,28 +336,28 @@ on a new line! ""Wow!"", the masses cried";
} }
/////////////////////////////////////// ///////////////////////////////////////
// CLASSES - see definitions at end of file // CLASSES - Veja definições no fim do arquivo
/////////////////////////////////////// ///////////////////////////////////////
public static void Classes() public static void Classes()
{ {
// See Declaration of objects at end of file // Veja Declaração de objetos no fim do arquivo
// Use new to instantiate a class // Use new para instanciar uma classe
Bicycle trek = new Bicycle(); Bicycle trek = new Bicycle();
// Call object methods // Chame métodos do objeto
trek.SpeedUp(3); // You should always use setter and getter methods trek.SpeedUp(3); // Você deve sempre usar métodos setter e getter
trek.Cadence = 100; trek.Cadence = 100;
// ToString is a convention to display the value of this Object. // ToString é uma convenção para exibir o valor desse Objeto.
Console.WriteLine("trek info: " + trek.Info()); Console.WriteLine("trek info: " + trek.Info());
// Instantiate a new Penny Farthing // Instancie um novo Penny Farthing
PennyFarthing funbike = new PennyFarthing(1, 10); PennyFarthing funbike = new PennyFarthing(1, 10);
Console.WriteLine("funbike info: " + funbike.Info()); Console.WriteLine("funbike info: " + funbike.Info());
Console.Read(); Console.Read();
} // End main method } // Fim do método principal
// CONSOLE ENTRY A console application must have a main method as an entry point // CONSOLE ENTRY A console application must have a main method as an entry point
public static void Main(string[] args) public static void Main(string[] args)