Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca28c99f7b |
No files matched your search
Vendored
+3
-3
@@ -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,
|
||||
|
||||
|
||||
}
|
||||
+23
-3
@@ -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 + " ");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,10 @@
|
||||
<ProjectReference Include="..\Algorithms\Algorithms.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="EntityFramework" Version="6.4.4" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
Reference in new issue
Block a user