[csharp/pt-br] Missing translation

This commit is contained in:
daniloyamauti 2019-10-01 12:50:33 -03:00 committed by GitHub
parent dff76c7965
commit 03b67fff48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,12 +407,12 @@ on a new line! ""Wow!"", the masses cried";
return result; return result;
} }
// You can narrow down the objects that are passed in // Você pode pode restringir os objetos que são passados
public static void IterateAndPrint<T>(T toPrint) where T: IEnumerable<int> public static void IterateAndPrint<T>(T toPrint) where T: IEnumerable<int>
{ {
// We can iterate, since T is a IEnumerable // Nos podemos iterar, desde que T seja um "IEnumerable"
foreach (var item in toPrint) foreach (var item in toPrint)
// Item is an int // Item é um inteiro
Console.WriteLine(item.ToString()); Console.WriteLine(item.ToString());
} }