mirror of
https://github.com/github/codeql.git
synced 2026-06-19 11:51:08 +02:00
13 lines
254 B
C#
13 lines
254 B
C#
class MissedSelectOpportunityFix
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
List<int> lst = Enumerable.Range(1, 5).ToList();
|
|
|
|
foreach (int j in lst.Select(i => i * i))
|
|
{
|
|
Console.WriteLine(j);
|
|
}
|
|
}
|
|
}
|