Merge pull request #3652 from daniloyamauti/patch-13

[csharp/pt-br] Missing translation
This commit is contained in:
Divay Prakash 2019-11-24 12:07:10 +05:30 committed by GitHub
commit 39c7efbb81
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;
}
// 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>
{
// We can iterate, since T is a IEnumerable
// Nos podemos iterar, desde que T seja um "IEnumerable"
foreach (var item in toPrint)
// Item is an int
// Item é um inteiro
Console.WriteLine(item.ToString());
}