namespace testapp01
{
internal class Program
{
static void Main(string[] args)
{
List<int> listofnumbers = new List<int>();
[Link](1);
[Link](2);
[Link](3);
[Link](4);
[Link](5);
[Link](6);
foreach (int i in listofnumbers)
{
[Link](i);
}
var squaroflist = [Link](x => x * x);
foreach (int j in squaroflist) {
[Link](j);
}
var evenlist = [Link](x => x % 2 == 0);
foreach (int i in evenlist)
{
[Link](i);
}
Func<double, double> Squareofanumber = x => x * x;
[Link](
"Square of 3.2 " + Squareofanumber(3.2)
);
Func<double, double> Cubeofanumber = x => x * x * x;
[Link](
"Cube of 6.5 " + Cubeofanumber(6.5)
);
}
}
}