diff --git a/.vscode/settings.json b/.vscode/settings.json index 1e70228..01bcf05 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,10 +1,10 @@ { "dotnet.defaultSolution": "FirstProject.sln", - "editor.fontSize": 22, + "editor.fontSize": 12, "window.zoomLevel": 1, - "terminal.integrated.fontSize": 22, + "terminal.integrated.fontSize": 12, "workbench.tree.indent": 23, - "debug.console.fontSize": 22, + "debug.console.fontSize": 12, } \ No newline at end of file diff --git a/Algorithms/Program.cs b/Algorithms/Program.cs index 088a193..a3930a4 100644 --- a/Algorithms/Program.cs +++ b/Algorithms/Program.cs @@ -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 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 + " "); + } } } diff --git a/Twinty/Twinty.csproj b/Twinty/Twinty.csproj index 8601db6..9a6055b 100644 --- a/Twinty/Twinty.csproj +++ b/Twinty/Twinty.csproj @@ -4,6 +4,10 @@ + + + + net7.0 enable