please merge my unknown changes

This commit is contained in:
didier amyot committed 2023-09-21 08:10:57 -04:00
1 parent 96d08d9405
commit ca28c99f7b
3 files changed
+30 -6

No files matched your search

+23 -3
View File
@@ -10,8 +10,28 @@ class EntryPoint
public static void Main(String[] args)
{
SierpinskiTriangle st = new SierpinskiTriangle(new Random(666));
string vegaLite = st.GenerateVegaLiteSpec(new Point(2, 3), 2000);
Console.WriteLine(vegaLite);
int[] scores = { 97, 92, 81, 60 };
// Define the query expression.
IEnumerable<int> scoreQuery =
from score in scores
where score > 80
select score;
// Execute the query.
foreach (int i in scoreQuery)
{
if(i == 92){
break;
}
Console.Write(i + " ");
}
Console.WriteLine("-- >>> ");
foreach (int i in scoreQuery)
{
Console.Write(i + " ");
}
}
}