mirror of
https://github.com/github/codeql.git
synced 2026-03-05 07:06:47 +01: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);
|
|
}
|
|
}
|
|
}
|