{
12 | // { "a1", "b1" }, { "c1", "d1" },
13 | // { "a2", "b2" }, { "c2", "d2" },
14 | // { "a3", "b3" }, { "c3", "d3" },
15 | // { "a4", "b4" }, { "c4", "d4" },
16 | // { "a10", "b100" }, { "c10", "d100" },
17 | // { "a20", "b200" }, { "c20", "d200" },
18 | // { "a30", "b300" }, { "c30", "d300" },
19 | // { "a40", "b400" }, { "c40", "d400" },
20 | //};
21 |
22 | foreach (var item in myDict.Keys)
23 | {
24 | Console.WriteLine(myDict[item]);
25 | Console.WriteLine(item + "\n");
26 | }
27 |
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # C-Stuff
2 | After some time of doing VBA, PHP, Python and jQuery I think it is a good idea to go back to the roots again. Let's see what will come up.
3 |
4 | # [Visual Studio Debugging Shortcuts:](https://www.vitoshacademy.com/excel-my-shortcut-list/)
5 |
6 |
7 | - F5 Run
8 | - F10 Step Over. Does not step into the current method and goes to the next statement.
9 | - F11 Step Into. Standard Step-by-step slow debugging.
10 | - Ctrl + F5 Runs the project without debugging.
11 | - Shift + F11 Step Out. Completes and steps out of the current method. Finishes the current method.
12 | - Shift + F5 Stop. Debugging stops and returns Visual Studio to design mode.
13 |
14 | - Ctrl + K + C Comment
15 | - Ctrl + K + U UnComment
16 |
17 | - Ctrl + E + D AutoFormat
18 |
19 |
--------------------------------------------------------------------------------
/ReadAndSort.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.IO;
5 |
6 | class Startup
7 | {
8 | static void Main()
9 | {
10 | string keyAlphabet = "abc~WITHSOMEADDITIONALLCHARACTERS~yz_";
11 | string keyInput = File.ReadAllText(@"C:\Input.txt");
12 | Dictionary countDic= new Dictionary();
13 |
14 | for (int i = 0; i < keyAlphabet.Count(); i++)
15 | {
16 | countDic.Add(keyAlphabet[i].ToString(), 0);
17 | }
18 |
19 | for (int i = 0; i < keyInput.Count(); i++)
20 | {
21 | if (countDic.ContainsKey(keyInput[i].ToString()))
22 | {
23 | long countDicSize = countDic[keyInput[i].ToString()];
24 | countDic[keyInput[i].ToString()] = countDicSize + 1;
25 | }
26 | }
27 | var ordered = countDic.OrderBy(x => x.Value).Reverse();
28 | Console.WriteLine(String.Join("",ordered.ToArray()));
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/SomeDbProject/DropDbQuery.sql:
--------------------------------------------------------------------------------
1 | USE MASTER
2 | ALTER DATABASE [SomeDbProject.DbContext] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
3 | GO
4 | DROP DATABASE [SomeDbProject.DbContext]
5 |
--------------------------------------------------------------------------------
/SomeDbProject/ReadMe.md:
--------------------------------------------------------------------------------
1 | Code to the article in [VitoshAcademy](https://www.vitoshacademy.com):
2 |
3 | https://www.vitoshacademy.com/c-foreign-keys-in-entity-framework-code-first-query-with-linq/
4 |
5 | :cactus::cat::dog::girl::fire::bear:
6 |
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.271
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SomeDbProject", "SomeDbProject\SomeDbProject.csproj", "{B03D53F4-F921-46B5-81B7-341129368CBE}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {B03D53F4-F921-46B5-81B7-341129368CBE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {B03D53F4-F921-46B5-81B7-341129368CBE}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {B03D53F4-F921-46B5-81B7-341129368CBE}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {B03D53F4-F921-46B5-81B7-341129368CBE}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {C883A88F-490A-4309-A1E0-62DADC31D6E2}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/Company.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace SomeDbProject
4 | {
5 | class Company
6 | {
7 | public int Id { get; set; }
8 | public string Name { get; set; }
9 | public string Owner { get; set; }
10 | public int YearEstablished { get; set; }
11 | public virtual ICollection Cars { get; set; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/SomeDbContext.cs:
--------------------------------------------------------------------------------
1 | namespace SomeDbProject
2 | {
3 | using System.Data.Entity;
4 |
5 | class SomeDbContext : DbContext
6 | {
7 | public SomeDbContext() : base("name=SomeDbProjectConnectionString")
8 | {
9 | Database.SetInitializer(new DropCreateDatabaseAlways());
10 | }
11 | public DbSet Cars { get; set; }
12 | public DbSet Companies { get; set; }
13 | }
14 | }
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/bin/Debug/EntityFramework.SqlServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/SomeDbProject/bin/Debug/EntityFramework.SqlServer.dll
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/bin/Debug/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/SomeDbProject/bin/Debug/EntityFramework.dll
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/bin/Debug/SomeDbProject.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/SomeDbProject/bin/Debug/SomeDbProject.exe
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/bin/Debug/SomeDbProject.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/bin/Debug/SomeDbProject.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/SomeDbProject/bin/Debug/SomeDbProject.pdb
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/SomeDbProject/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/obj/Debug/SomeDbProject.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 8f0a3f942a09239438396159bd64cb3b70c0f0de
2 |
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/obj/Debug/SomeDbProject.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\obj\Debug\SomeDbProject.csprojAssemblyReference.cache
2 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\obj\Debug\SomeDbProject.csproj.CoreCompileInputs.cache
3 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\bin\Debug\SomeDbProject.exe.config
4 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\bin\Debug\SomeDbProject.exe
5 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\bin\Debug\SomeDbProject.pdb
6 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\bin\Debug\EntityFramework.dll
7 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\bin\Debug\EntityFramework.SqlServer.dll
8 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\bin\Debug\EntityFramework.xml
9 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\bin\Debug\EntityFramework.SqlServer.xml
10 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\obj\Debug\SomeDbProject.csproj.CopyComplete
11 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\obj\Debug\SomeDbProject.exe
12 | C:\Users\VDOY141\source\repos\SomeDbProject\SomeDbProject\obj\Debug\SomeDbProject.pdb
13 |
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/obj/Debug/SomeDbProject.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/SomeDbProject/obj/Debug/SomeDbProject.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/obj/Debug/SomeDbProject.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/SomeDbProject/obj/Debug/SomeDbProject.exe
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/obj/Debug/SomeDbProject.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/SomeDbProject/obj/Debug/SomeDbProject.pdb
--------------------------------------------------------------------------------
/SomeDbProject/SomeDbProject/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/SomeDbProject/packages/EntityFramework.6.2.0/EntityFramework.6.2.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/packages/EntityFramework.6.2.0/EntityFramework.6.2.0.nupkg
--------------------------------------------------------------------------------
/SomeDbProject/packages/EntityFramework.6.2.0/content/net40/App.config.transform:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/SomeDbProject/packages/EntityFramework.6.2.0/content/net40/Web.config.transform:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/SomeDbProject/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.SqlServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.SqlServer.dll
--------------------------------------------------------------------------------
/SomeDbProject/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.dll
--------------------------------------------------------------------------------
/SomeDbProject/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.SqlServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.SqlServer.dll
--------------------------------------------------------------------------------
/SomeDbProject/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.dll
--------------------------------------------------------------------------------
/SomeDbProject/packages/EntityFramework.6.2.0/tools/EntityFramework.PowerShell.Utility.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/packages/EntityFramework.6.2.0/tools/EntityFramework.PowerShell.Utility.dll
--------------------------------------------------------------------------------
/SomeDbProject/packages/EntityFramework.6.2.0/tools/EntityFramework.PowerShell.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/packages/EntityFramework.6.2.0/tools/EntityFramework.PowerShell.dll
--------------------------------------------------------------------------------
/SomeDbProject/packages/EntityFramework.6.2.0/tools/EntityFramework.psd1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/packages/EntityFramework.6.2.0/tools/EntityFramework.psd1
--------------------------------------------------------------------------------
/SomeDbProject/packages/EntityFramework.6.2.0/tools/migrate.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/SomeDbProject/packages/EntityFramework.6.2.0/tools/migrate.exe
--------------------------------------------------------------------------------
/StoreData/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/StoreData/Customer.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace StoreData
8 | {
9 | public class Customer
10 | {
11 | public int Id { get; set; }
12 |
13 | public string Name { get; set; }
14 |
15 | public string Email { get; set; }
16 |
17 | public string CreditCardNumber { get; set; }
18 |
19 | public List SalesForCustomer { get; set; }
20 |
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/StoreData/Migrations/201705241059067_InitialCreate.Designer.cs:
--------------------------------------------------------------------------------
1 | //
2 | namespace StoreData.Migrations
3 | {
4 | using System.CodeDom.Compiler;
5 | using System.Data.Entity.Migrations;
6 | using System.Data.Entity.Migrations.Infrastructure;
7 | using System.Resources;
8 |
9 | [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
10 | public sealed partial class InitialCreate : IMigrationMetadata
11 | {
12 | private readonly ResourceManager Resources = new ResourceManager(typeof(InitialCreate));
13 |
14 | string IMigrationMetadata.Id
15 | {
16 | get { return "201705241059067_InitialCreate"; }
17 | }
18 |
19 | string IMigrationMetadata.Source
20 | {
21 | get { return null; }
22 | }
23 |
24 | string IMigrationMetadata.Target
25 | {
26 | get { return Resources.GetString("Target"); }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/StoreData/Migrations/201705241334258_Version1.Designer.cs:
--------------------------------------------------------------------------------
1 | //
2 | namespace StoreData.Migrations
3 | {
4 | using System.CodeDom.Compiler;
5 | using System.Data.Entity.Migrations;
6 | using System.Data.Entity.Migrations.Infrastructure;
7 | using System.Resources;
8 |
9 | [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
10 | public sealed partial class Version1 : IMigrationMetadata
11 | {
12 | private readonly ResourceManager Resources = new ResourceManager(typeof(Version1));
13 |
14 | string IMigrationMetadata.Id
15 | {
16 | get { return "201705241334258_Version1"; }
17 | }
18 |
19 | string IMigrationMetadata.Source
20 | {
21 | get { return null; }
22 | }
23 |
24 | string IMigrationMetadata.Target
25 | {
26 | get { return Resources.GetString("Target"); }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/StoreData/Migrations/201705241334258_Version1.cs:
--------------------------------------------------------------------------------
1 | namespace StoreData.Migrations
2 | {
3 | using System;
4 | using System.Data.Entity.Migrations;
5 |
6 | public partial class Version1 : DbMigration
7 | {
8 | public override void Up()
9 | {
10 | AddColumn("dbo.Products", "Desciption", c => c.String());
11 | }
12 |
13 | public override void Down()
14 | {
15 | DropColumn("dbo.Products", "Desciption");
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/StoreData/Migrations/201705241335297_Version2.Designer.cs:
--------------------------------------------------------------------------------
1 | //
2 | namespace StoreData.Migrations
3 | {
4 | using System.CodeDom.Compiler;
5 | using System.Data.Entity.Migrations;
6 | using System.Data.Entity.Migrations.Infrastructure;
7 | using System.Resources;
8 |
9 | [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
10 | public sealed partial class Version2 : IMigrationMetadata
11 | {
12 | private readonly ResourceManager Resources = new ResourceManager(typeof(Version2));
13 |
14 | string IMigrationMetadata.Id
15 | {
16 | get { return "201705241335297_Version2"; }
17 | }
18 |
19 | string IMigrationMetadata.Source
20 | {
21 | get { return null; }
22 | }
23 |
24 | string IMigrationMetadata.Target
25 | {
26 | get { return Resources.GetString("Target"); }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/StoreData/Migrations/201705241335297_Version2.cs:
--------------------------------------------------------------------------------
1 | namespace StoreData.Migrations
2 | {
3 | using System;
4 | using System.Data.Entity.Migrations;
5 |
6 | public partial class Version2 : DbMigration
7 | {
8 | public override void Up()
9 | {
10 | DropColumn("dbo.Products", "Desciption");
11 | }
12 |
13 | public override void Down()
14 | {
15 | AddColumn("dbo.Products", "Desciption", c => c.String());
16 | }
17 | }
18 | }
--------------------------------------------------------------------------------
/StoreData/Migrations/Configuration.cs:
--------------------------------------------------------------------------------
1 | namespace StoreData.Migrations
2 | {
3 | using System;
4 | using System.Data.Entity;
5 | using System.Data.Entity.Migrations;
6 | using System.Linq;
7 |
8 | internal sealed class Configuration : DbMigrationsConfiguration
9 | {
10 | public Configuration()
11 | {
12 | AutomaticMigrationsEnabled = false;
13 | ContextKey = "StoreData.SalesContext";
14 | }
15 |
16 | protected override void Seed(StoreData.SalesContext context)
17 | {
18 | // This method will be called after migrating to the latest version.
19 |
20 | // You can use the DbSet.AddOrUpdate() helper extension method
21 | // to avoid creating duplicate seed data. E.g.
22 | //
23 | // context.People.AddOrUpdate(
24 | // p => p.FullName,
25 | // new Person { FullName = "Andrew Peters" },
26 | // new Person { FullName = "Brice Lambson" },
27 | // new Person { FullName = "Rowan Miller" }
28 | // );
29 | //
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/StoreData/Product.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace StoreData
8 | {
9 | public class Product
10 | {
11 | public int Id { get; set; }
12 |
13 | public string Name { get; set; }
14 |
15 | public int Quantity { get; set; }
16 |
17 | public decimal Price { get; set; }
18 |
19 | public string Description { get; set; } = "No description";
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/StoreData/Readme.md:
--------------------------------------------------------------------------------
1 | ***Entity Framework Basics***
2 |
3 | https://msdn.microsoft.com/en-us/library/jj591621(v=vs.113).aspx
4 |
5 | *Getting SQL Script:*
6 | Run the Update-Database -Script -SourceMigration: $InitialDatabase -TargetMigration: AddPostAbstract command in Package Manager Console
7 |
8 | *Migrate to a Specific Version (Including Downgrade)*
9 | Run the Update-Database –TargetMigration: AddBlogUrl command in Package Manager Console.
10 | This command will run the Down script for our AddBlogAbstract and AddPostClass migrations.
11 | If you want to roll all the way back to an empty database then you can use the Update-Database –TargetMigration: $InitialDatabase command.
12 |
13 | *Add-Migration* will scaffold the next migration based on changes you have made to your model since the last migration was created
14 | *Update-Database* will apply any pending migrations to the database
15 |
--------------------------------------------------------------------------------
/StoreData/Sale.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace StoreData
8 | {
9 | public class Sale
10 | {
11 | public int Id { get; set; }
12 | public Product Product { get; set; }
13 | public Customer Customer { get; set; }
14 | public StoreLocation StoreLocation { get; set; }
15 | public DateTime Date { get; set; }
16 |
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/StoreData/SalesContext.cs:
--------------------------------------------------------------------------------
1 | namespace StoreData
2 | {
3 | using System;
4 | using System.Data.Entity;
5 | using System.Linq;
6 |
7 | public class SalesContext : DbContext
8 | {
9 | public SalesContext()
10 | : base("name=SalesContext")
11 | {
12 | Database.SetInitializer(new CreateDatabaseIfNotExists());
13 | }
14 |
15 | public virtual DbSet Products { get; set; }
16 | public virtual DbSet Sales { get; set; }
17 | public virtual DbSet Customers { get; set; }
18 | public virtual DbSet Locations { get; set; }
19 |
20 |
21 | }
22 |
23 |
24 |
25 | }
--------------------------------------------------------------------------------
/StoreData/Startup.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace StoreData
8 | {
9 | class Startup
10 | {
11 | static void Main()
12 | {
13 | Seed.EnterData();
14 | }
15 | }
16 | }
--------------------------------------------------------------------------------
/StoreData/StoreData.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.25123.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StoreData", "StoreData.csproj", "{C1B1D6FB-A489-4342-AA2E-F817AF895CA4}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {C1B1D6FB-A489-4342-AA2E-F817AF895CA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {C1B1D6FB-A489-4342-AA2E-F817AF895CA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {C1B1D6FB-A489-4342-AA2E-F817AF895CA4}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {C1B1D6FB-A489-4342-AA2E-F817AF895CA4}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/StoreData/StoreLocation.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace StoreData
8 | {
9 | public class StoreLocation
10 | {
11 | public int Id { get; set; }
12 | public string LocationName { get; set; }
13 | public List Sales { get; set; }
14 |
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/StoreData/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/StoreData/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/StoreData/obj/Debug/StoreData.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | c:\users\gropc\documents\visual studio 2015\Projects\StoreData\StoreData\bin\Debug\StoreData.exe.config
2 | c:\users\gropc\documents\visual studio 2015\Projects\StoreData\StoreData\bin\Debug\StoreData.exe
3 | c:\users\gropc\documents\visual studio 2015\Projects\StoreData\StoreData\bin\Debug\StoreData.pdb
4 | c:\users\gropc\documents\visual studio 2015\Projects\StoreData\StoreData\bin\Debug\EntityFramework.dll
5 | c:\users\gropc\documents\visual studio 2015\Projects\StoreData\StoreData\bin\Debug\EntityFramework.SqlServer.dll
6 | c:\users\gropc\documents\visual studio 2015\Projects\StoreData\StoreData\bin\Debug\EntityFramework.xml
7 | c:\users\gropc\documents\visual studio 2015\Projects\StoreData\StoreData\bin\Debug\EntityFramework.SqlServer.xml
8 | c:\users\gropc\documents\visual studio 2015\Projects\StoreData\StoreData\obj\Debug\StoreData.csprojResolveAssemblyReference.cache
9 | c:\users\gropc\documents\visual studio 2015\Projects\StoreData\StoreData\obj\Debug\StoreData.exe
10 | c:\users\gropc\documents\visual studio 2015\Projects\StoreData\StoreData\obj\Debug\StoreData.pdb
11 |
--------------------------------------------------------------------------------
/StoreData/obj/Debug/StoreData.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/StoreData/obj/Debug/StoreData.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/StoreData/obj/Debug/StoreData.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/StoreData/obj/Debug/StoreData.exe
--------------------------------------------------------------------------------
/StoreData/obj/Debug/StoreData.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/StoreData/obj/Debug/StoreData.pdb
--------------------------------------------------------------------------------
/StoreData/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ThreadExample001/ThreadsExample.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Threading;
7 |
8 | namespace threads
9 | {
10 | class ThreadsExample
11 | {
12 | static void Main()
13 | {
14 | Writer oWriter1 = new Writer();
15 | Writer oWriter2 = new Writer();
16 | Writer oWriter3 = new Writer();
17 |
18 | Thread oThread1 = new Thread(() => oWriter1.WriteSomething("I am the first"));
19 | Thread oThread2 = new Thread(() => oWriter2.WriteSomething("2222"));
20 | Thread oThread3 = new Thread(() => oWriter3.WriteSomethingOnce());
21 |
22 | oThread1.Start();
23 | oThread2.Start();
24 | oThread3.Start();
25 |
26 | Thread.Sleep(100);
27 |
28 | oThread1.Abort();
29 | oThread2.Abort();
30 | oThread3.Abort();
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/ThreadExample001/Writer.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace threads
8 | {
9 | public class Writer
10 | {
11 | public void WriteSomething(string strSomething)
12 | {
13 | while (true)
14 | {
15 | Console.WriteLine(strSomething);
16 | }
17 | }
18 |
19 | public void WriteSomethingOnce()
20 | {
21 | Console.WriteLine("Writing just once");
22 | }
23 |
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/VanyaAndLabel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | class vitbit
4 | {
5 | static void Main()
6 | {
7 | string input = Console.ReadLine();
8 | long zeroes = 0;
9 |
10 | foreach (char my_char in input)
11 | {
12 | long i = GenerateValue(my_char);
13 |
14 | for (int j = 5; j >= 0; j--)
15 | {
16 | if (((i >> j) & 1) == 0)
17 | zeroes++;
18 | }
19 | }
20 |
21 | long result = 1;
22 | long mod = (long)(Math.Pow(10, 9))+7;
23 |
24 | for (long i = 0; i < zeroes; i++)
25 | {
26 | result *= 3;
27 | result %= mod;
28 | }
29 |
30 | Console.WriteLine(result);
31 | }
32 |
33 | static long GenerateValue(char my_char)
34 | {
35 | if (my_char >= '0' && my_char <= '9')
36 | return my_char-'0';
37 | if (my_char >= 'a' && my_char <= 'z')
38 | return my_char - 'a' + 36;
39 | if (my_char >= 'A' && my_char <= 'Z')
40 | return my_char - 'A' + 10;
41 | if (my_char == '-')
42 | return 62;
43 | return 63;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/Vasiliy.cs:
--------------------------------------------------------------------------------
1 | //http://codeforces.com/contest/706/problem/A
2 |
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | class Code_160813_01
10 | {
11 | static void Main()
12 | {
13 | string[] s_input = Console.ReadLine().Split();
14 |
15 | int i_point_a = int.Parse(s_input[0]);
16 | int i_point_b = int.Parse(s_input[1]);
17 | int i_cars_total = int.Parse(Console.ReadLine());
18 |
19 | List> l_cars_info = new List>();
20 | List l_result = new List();
21 |
22 | double d_distance;
23 | double d_result;
24 |
25 | for (int i = 0; i < i_cars_total; i++)
26 | {
27 | List l_3 = new List();
28 | string[] s_input2 = Console.ReadLine().Split();
29 | l_3.Add(int.Parse(s_input2[0]));
30 | l_3.Add(int.Parse(s_input2[1]));
31 | l_3.Add(int.Parse(s_input2[2]));
32 | l_cars_info.Add(l_3);
33 | }
34 |
35 | for (int i = 0; i < i_cars_total; i++)
36 | {
37 | d_distance = Math.Sqrt(Math.Pow(i_point_a - l_cars_info[i][0],2)+Math.Pow(i_point_b-l_cars_info[i][1],2));
38 | d_distance = d_distance / l_cars_info[i][2];
39 | l_result.Add(d_distance);
40 | }
41 |
42 | d_result = l_result.Min();
43 | Console.WriteLine(d_result.ToString(System.Globalization.CultureInfo.GetCultureInfo("en-US")));
44 | }
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/VasyaAndStrokes.cs:
--------------------------------------------------------------------------------
1 | //http://codeforces.com/problemset/problem/676/C?locale=en
2 | using System;
3 | using System.Linq;
4 |
5 | class VasyaAndStroka
6 | {
7 | static void Main()
8 | {
9 | int[] int_line = Console.ReadLine().Split(new char[] { ' ' }).Select(int.Parse).ToArray();
10 | int n = int_line[0];
11 | int k = int_line[1];
12 |
13 | string str_line = Console.ReadLine();
14 |
15 | int ans = 0;
16 | int a = 0;
17 | int b = 0;
18 | int position = 0;
19 |
20 | foreach (var item in str_line)
21 | {
22 | if (item == 'a')
23 | {
24 | a++;
25 | }
26 | else
27 | {
28 | b++;
29 | }
30 | if (Math.Min(a,b) > k)
31 | {
32 | if (str_line[position] =='a')
33 | {
34 | a--;
35 | }
36 | else
37 | {
38 | b--;
39 | }
40 | position++;
41 | }
42 | else
43 | {
44 | ans++;
45 | }
46 | }
47 | Console.WriteLine(ans);
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.25420.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NewWindowForm", "NewWindowForm\NewWindowForm.csproj", "{8E6100ED-E56E-49ED-B85A-3CACE05B7681}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {8E6100ED-E56E-49ED-B85A-3CACE05B7681}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {8E6100ED-E56E-49ED-B85A-3CACE05B7681}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {8E6100ED-E56E-49ED-B85A-3CACE05B7681}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {8E6100ED-E56E-49ED-B85A-3CACE05B7681}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace NewWindowForm
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new Form1());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace NewWindowForm.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/bin/Debug/NewWindowForm.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/bin/Debug/NewWindowForm.exe
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/bin/Debug/NewWindowForm.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/bin/Debug/NewWindowForm.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/bin/Debug/NewWindowForm.pdb
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/bin/Debug/NewWindowForm.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/bin/Debug/NewWindowForm.vshost.exe
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/bin/Debug/NewWindowForm.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/bin/Debug/NewWindowForm.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/obj/Debug/DesignTimeResolveAssemblyReferences.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/obj/Debug/DesignTimeResolveAssemblyReferences.cache
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.Form1.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.Form1.resources
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.Properties.Resources.resources
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | c:\users\gropc\documents\visual studio 2015\Projects\NewWindowForm\NewWindowForm\bin\Debug\NewWindowForm.exe.config
2 | c:\users\gropc\documents\visual studio 2015\Projects\NewWindowForm\NewWindowForm\bin\Debug\NewWindowForm.exe
3 | c:\users\gropc\documents\visual studio 2015\Projects\NewWindowForm\NewWindowForm\bin\Debug\NewWindowForm.pdb
4 | c:\users\gropc\documents\visual studio 2015\Projects\NewWindowForm\NewWindowForm\obj\Debug\NewWindowForm.csprojResolveAssemblyReference.cache
5 | c:\users\gropc\documents\visual studio 2015\Projects\NewWindowForm\NewWindowForm\obj\Debug\NewWindowForm.csproj.ResolveComReference.cache
6 | c:\users\gropc\documents\visual studio 2015\Projects\NewWindowForm\NewWindowForm\obj\Debug\NewWindowForm.Form1.resources
7 | c:\users\gropc\documents\visual studio 2015\Projects\NewWindowForm\NewWindowForm\obj\Debug\NewWindowForm.Properties.Resources.resources
8 | c:\users\gropc\documents\visual studio 2015\Projects\NewWindowForm\NewWindowForm\obj\Debug\NewWindowForm.csproj.GenerateResource.Cache
9 | c:\users\gropc\documents\visual studio 2015\Projects\NewWindowForm\NewWindowForm\obj\Debug\NewWindowForm.exe
10 | c:\users\gropc\documents\visual studio 2015\Projects\NewWindowForm\NewWindowForm\obj\Debug\NewWindowForm.pdb
11 |
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.csproj.GenerateResource.Cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.csproj.GenerateResource.Cache
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.csproj.ResolveComReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.csproj.ResolveComReference.cache
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.exe
--------------------------------------------------------------------------------
/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/WindowFormExample/NewWindowForm/obj/Debug/NewWindowForm.pdb
--------------------------------------------------------------------------------
/WindowFormExample/ReadMe.MD:
--------------------------------------------------------------------------------
1 | C# - Looking for a value in Excel with C# & VisualStudio
2 | ----
3 |
4 | [This is the code for this article:](http://www.vitoshacademy.com/c-looking-for-a-value-in-excel-with-c-visualstudio/)
5 |
6 | The raw form and the form with some input:
7 |
8 | 
9 |
10 | Successful found!
11 |
12 | 
13 |
14 | Not successful!
15 |
16 | 
17 |
--------------------------------------------------------------------------------
/ca120517/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/ca120517/Models/Address.cs:
--------------------------------------------------------------------------------
1 | namespace ca120517
2 | {
3 | using System;
4 | using System.Collections.Generic;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 | using System.Data.Entity.Spatial;
8 |
9 | public partial class Address
10 | {
11 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
12 | public Address()
13 | {
14 | Employees = new HashSet();
15 | }
16 |
17 | public int AddressID { get; set; }
18 |
19 | [Required]
20 | [StringLength(100)]
21 | public string AddressText { get; set; }
22 |
23 | public int? TownID { get; set; }
24 |
25 | public virtual Town Town { get; set; }
26 |
27 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
28 | public virtual ICollection Employees { get; set; }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/ca120517/Models/Department.cs:
--------------------------------------------------------------------------------
1 | namespace ca120517
2 | {
3 | using System;
4 | using System.Collections.Generic;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 | using System.Data.Entity.Spatial;
8 |
9 | public partial class Department
10 | {
11 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
12 | public Department()
13 | {
14 | Employees = new HashSet();
15 | }
16 |
17 | public int DepartmentID { get; set; }
18 |
19 | [Required]
20 | [StringLength(50)]
21 | public string Name { get; set; }
22 |
23 | public int ManagerID { get; set; }
24 |
25 | public virtual Employee Employee { get; set; }
26 |
27 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
28 | public virtual ICollection Employees { get; set; }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/ca120517/Models/Project.cs:
--------------------------------------------------------------------------------
1 | namespace ca120517
2 | {
3 | using System;
4 | using System.Collections.Generic;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 | using System.Data.Entity.Spatial;
8 |
9 | public partial class Project
10 | {
11 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
12 | public Project()
13 | {
14 | Employees = new HashSet();
15 | }
16 |
17 | public int ProjectID { get; set; }
18 |
19 | [Required]
20 | [StringLength(50)]
21 | public string Name { get; set; }
22 |
23 | [Column(TypeName = "ntext")]
24 | public string Description { get; set; }
25 |
26 | [Column(TypeName = "smalldatetime")]
27 | public DateTime StartDate { get; set; }
28 |
29 | [Column(TypeName = "smalldatetime")]
30 | public DateTime? EndDate { get; set; }
31 |
32 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
33 | public virtual ICollection Employees { get; set; }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/ca120517/Models/Town.cs:
--------------------------------------------------------------------------------
1 | namespace ca120517
2 | {
3 | using System;
4 | using System.Collections.Generic;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 | using System.Data.Entity.Spatial;
8 |
9 | public partial class Town
10 | {
11 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
12 | public Town()
13 | {
14 | Addresses = new HashSet();
15 | }
16 |
17 | public int TownID { get; set; }
18 |
19 | [Required]
20 | [StringLength(50)]
21 | public string Name { get; set; }
22 |
23 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
24 | public virtual ICollection Addresses { get; set; }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/ca120517/Models/sysdiagram.cs:
--------------------------------------------------------------------------------
1 | namespace ca120517
2 | {
3 | using System;
4 | using System.Collections.Generic;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 | using System.Data.Entity.Spatial;
8 |
9 | public partial class sysdiagram
10 | {
11 | [Required]
12 | [StringLength(128)]
13 | public string name { get; set; }
14 |
15 | public int principal_id { get; set; }
16 |
17 | [Key]
18 | public int diagram_id { get; set; }
19 |
20 | public int? version { get; set; }
21 |
22 | public byte[] definition { get; set; }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/ca120517/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("ca120517")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("ca120517")]
13 | [assembly: AssemblyCopyright("Copyright © 2017")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("e65e4fb9-8a67-43be-af0c-6d52c8f0063d")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/ca120517/bin/Debug/EntityFramework.SqlServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/bin/Debug/EntityFramework.SqlServer.dll
--------------------------------------------------------------------------------
/ca120517/bin/Debug/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/bin/Debug/EntityFramework.dll
--------------------------------------------------------------------------------
/ca120517/bin/Debug/ca120517.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/bin/Debug/ca120517.exe
--------------------------------------------------------------------------------
/ca120517/bin/Debug/ca120517.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/ca120517/bin/Debug/ca120517.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/bin/Debug/ca120517.pdb
--------------------------------------------------------------------------------
/ca120517/bin/Debug/ca120517.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/bin/Debug/ca120517.vshost.exe
--------------------------------------------------------------------------------
/ca120517/bin/Debug/ca120517.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ca120517/bin/Debug/ca120517.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/ca120517/ca120517.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.25123.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ca120517", "ca120517.csproj", "{E65E4FB9-8A67-43BE-AF0C-6D52C8F0063D}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {E65E4FB9-8A67-43BE-AF0C-6D52C8F0063D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {E65E4FB9-8A67-43BE-AF0C-6D52C8F0063D}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {E65E4FB9-8A67-43BE-AF0C-6D52C8F0063D}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {E65E4FB9-8A67-43BE-AF0C-6D52C8F0063D}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/ca120517/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/ca120517/obj/Debug/ca120517.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\v.doynov\Desktop\BA Tools\SkoLust\InitialInput4\ca120517\bin\Debug\ca120517.exe.config
2 | C:\Users\v.doynov\Desktop\BA Tools\SkoLust\InitialInput4\ca120517\obj\Debug\ca120517.csprojResolveAssemblyReference.cache
3 | C:\Users\v.doynov\Desktop\BA Tools\SkoLust\InitialInput4\ca120517\bin\Debug\ca120517.exe
4 | C:\Users\v.doynov\Desktop\BA Tools\SkoLust\InitialInput4\ca120517\bin\Debug\ca120517.pdb
5 | C:\Users\v.doynov\Desktop\BA Tools\SkoLust\InitialInput4\ca120517\bin\Debug\EntityFramework.dll
6 | C:\Users\v.doynov\Desktop\BA Tools\SkoLust\InitialInput4\ca120517\bin\Debug\EntityFramework.SqlServer.dll
7 | C:\Users\v.doynov\Desktop\BA Tools\SkoLust\InitialInput4\ca120517\bin\Debug\EntityFramework.xml
8 | C:\Users\v.doynov\Desktop\BA Tools\SkoLust\InitialInput4\ca120517\bin\Debug\EntityFramework.SqlServer.xml
9 | C:\Users\v.doynov\Desktop\BA Tools\SkoLust\InitialInput4\ca120517\obj\Debug\ca120517.exe
10 | C:\Users\v.doynov\Desktop\BA Tools\SkoLust\InitialInput4\ca120517\obj\Debug\ca120517.pdb
11 |
--------------------------------------------------------------------------------
/ca120517/obj/Debug/ca120517.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/obj/Debug/ca120517.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/ca120517/obj/Debug/ca120517.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/obj/Debug/ca120517.exe
--------------------------------------------------------------------------------
/ca120517/obj/Debug/ca120517.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/obj/Debug/ca120517.pdb
--------------------------------------------------------------------------------
/ca120517/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ca120517/packages/EntityFramework.6.1.3/Content/App.config.transform:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ca120517/packages/EntityFramework.6.1.3/Content/Web.config.transform:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ca120517/packages/EntityFramework.6.1.3/EntityFramework.6.1.3.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/packages/EntityFramework.6.1.3/EntityFramework.6.1.3.nupkg
--------------------------------------------------------------------------------
/ca120517/packages/EntityFramework.6.1.3/lib/net40/EntityFramework.SqlServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/packages/EntityFramework.6.1.3/lib/net40/EntityFramework.SqlServer.dll
--------------------------------------------------------------------------------
/ca120517/packages/EntityFramework.6.1.3/lib/net40/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/packages/EntityFramework.6.1.3/lib/net40/EntityFramework.dll
--------------------------------------------------------------------------------
/ca120517/packages/EntityFramework.6.1.3/lib/net45/EntityFramework.SqlServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/packages/EntityFramework.6.1.3/lib/net45/EntityFramework.SqlServer.dll
--------------------------------------------------------------------------------
/ca120517/packages/EntityFramework.6.1.3/lib/net45/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/packages/EntityFramework.6.1.3/lib/net45/EntityFramework.dll
--------------------------------------------------------------------------------
/ca120517/packages/EntityFramework.6.1.3/tools/EntityFramework.PowerShell.Utility.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/packages/EntityFramework.6.1.3/tools/EntityFramework.PowerShell.Utility.dll
--------------------------------------------------------------------------------
/ca120517/packages/EntityFramework.6.1.3/tools/EntityFramework.PowerShell.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/packages/EntityFramework.6.1.3/tools/EntityFramework.PowerShell.dll
--------------------------------------------------------------------------------
/ca120517/packages/EntityFramework.6.1.3/tools/EntityFramework.psd1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/packages/EntityFramework.6.1.3/tools/EntityFramework.psd1
--------------------------------------------------------------------------------
/ca120517/packages/EntityFramework.6.1.3/tools/migrate.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/ca120517/packages/EntityFramework.6.1.3/tools/migrate.exe
--------------------------------------------------------------------------------
/cf_Checking_the_Calendar.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | //http://codeforces.com/contest/724/problem/A
4 |
5 | class Problem1
6 | {
7 | static void Main()
8 | {
9 | string str_first = Console.ReadLine();
10 | string str_second = Console.ReadLine();
11 |
12 | List my_days = new List { "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday" };
13 |
14 | int i_first = my_days.FindIndex(my_day => my_day.Equals(str_first));
15 | int i_second = my_days.FindIndex(my_day => my_day.Equals(str_second));
16 |
17 | if ((i_first == i_second) || ((i_first+2) % 7 == i_second) || ((i_first + 3) % 7 == i_second))
18 | {
19 | Console.WriteLine("YES");
20 | }else{
21 | Console.WriteLine("NO");
22 | }
23 | }
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/linq_ignore_lists.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 |
6 | class Sample
7 | {
8 | static void Main()
9 | {
10 | List lstStrMyList = new List() { "Vityata","Vitosh","Academy","MyAcademy","Vitosh", "Pesho", "Gosho"};
11 | List lstStrIgnore = new List() { "Pesho", "Gosho", "Atanas", "Academy" };
12 | string strIgnored = "Academy";
13 |
14 | List lstStrFiltered = lstStrMyList.Distinct().Where(x => x != strIgnored).ToList();
15 | Console.WriteLine("List 1:");
16 | foreach (var item in lstStrFiltered)
17 | {
18 | Console.WriteLine(item);
19 | }
20 |
21 |
22 | List lstStrFiltered2 = lstStrMyList.Distinct().Where(x => !lstStrIgnore.Any(e => x.Contains(e))).ToList();
23 | Console.WriteLine("List 2:");
24 | foreach (var item in lstStrFiltered2)
25 | {
26 | Console.WriteLine(item);
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/linq_test/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/linq_test/Company.cs:
--------------------------------------------------------------------------------
1 | namespace linq_test
2 | {
3 | class Company
4 | {
5 | private string _companyName;
6 | private string _companyCEO;
7 | private int _companyProfit;
8 | private string _companyCountry;
9 |
10 | public Company(string name, string ceo = "No CEO", int profit = 0, string country = "Bulgaria")
11 | {
12 | _companyName = name;
13 | _companyCEO = ceo;
14 | _companyProfit = profit;
15 | _companyCountry = country;
16 | }
17 |
18 | public string name
19 | {
20 | get { return _companyName; }
21 | }
22 |
23 | public int profit
24 | {
25 | get {return _companyProfit;}
26 | }
27 |
28 | public string country
29 | {
30 | get {return _companyCountry;}
31 | }
32 |
33 | public string ceo
34 | {
35 | get
36 | {
37 | return _companyCEO;
38 | }
39 | set
40 | {
41 | _companyCEO = value;
42 | }
43 | }
44 |
45 | public override string ToString()
46 | {
47 | return string.Format("This company is named {0}. The CEO is {1}. The profit is {2}. It is located in {3}.",
48 | this.name, this.ceo, this.profit, this.country);
49 | }
50 |
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/linq_test/bin/Debug/linq_test.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/linq_test/bin/Debug/linq_test.exe
--------------------------------------------------------------------------------
/linq_test/bin/Debug/linq_test.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/linq_test/bin/Debug/linq_test.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/linq_test/bin/Debug/linq_test.pdb
--------------------------------------------------------------------------------
/linq_test/bin/Debug/linq_test.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/linq_test/bin/Debug/linq_test.vshost.exe
--------------------------------------------------------------------------------
/linq_test/bin/Debug/linq_test.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/linq_test/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/linq_test/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/linq_test/obj/Debug/linq_test.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\gropc\Downloads\8. Greedy-Algorithms-Lab\7. Greedy-Algorithms-Lab\Greedy-Algorithms-Lab\linq_test\bin\Debug\linq_test.exe.config
2 | C:\Users\gropc\Downloads\8. Greedy-Algorithms-Lab\7. Greedy-Algorithms-Lab\Greedy-Algorithms-Lab\linq_test\bin\Debug\linq_test.exe
3 | C:\Users\gropc\Downloads\8. Greedy-Algorithms-Lab\7. Greedy-Algorithms-Lab\Greedy-Algorithms-Lab\linq_test\bin\Debug\linq_test.pdb
4 | C:\Users\gropc\Downloads\8. Greedy-Algorithms-Lab\7. Greedy-Algorithms-Lab\Greedy-Algorithms-Lab\linq_test\obj\Debug\linq_test.csprojResolveAssemblyReference.cache
5 | C:\Users\gropc\Downloads\8. Greedy-Algorithms-Lab\7. Greedy-Algorithms-Lab\Greedy-Algorithms-Lab\linq_test\obj\Debug\linq_test.exe
6 | C:\Users\gropc\Downloads\8. Greedy-Algorithms-Lab\7. Greedy-Algorithms-Lab\Greedy-Algorithms-Lab\linq_test\obj\Debug\linq_test.pdb
7 |
--------------------------------------------------------------------------------
/linq_test/obj/Debug/linq_test.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/linq_test/obj/Debug/linq_test.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/linq_test/obj/Debug/linq_test.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/linq_test/obj/Debug/linq_test.exe
--------------------------------------------------------------------------------
/linq_test/obj/Debug/linq_test.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Vitosh/C-Sharp-Stuff/db7c065c2a6b3ffa473d7c6caa16907d61ce2ad5/linq_test/obj/Debug/linq_test.pdb
--------------------------------------------------------------------------------