├── .gitignore ├── Level 1 ├── 10 │ ├── 07_Avionika │ │ ├── 07_Avionika.sln │ │ └── 07_Avionika │ │ │ ├── 07_Avionika.csproj │ │ │ ├── App.config │ │ │ ├── BoardSystem.cs │ │ │ ├── Devices │ │ │ ├── BaseDevice.cs │ │ │ ├── Engine.cs │ │ │ ├── IBaseDevice.cs │ │ │ ├── PressureSensor.cs │ │ │ ├── Sensor.cs │ │ │ └── VoltageSensor.cs │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ ├── 10_Delegates │ │ ├── 10_Delegates.sln │ │ └── 10_Delegates │ │ │ ├── 10_Delegates.csproj │ │ │ ├── App.config │ │ │ ├── Delegates.cs │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ └── 10_Events │ │ ├── 10_Events.sln │ │ └── 10_Events │ │ ├── 10_Events.csproj │ │ ├── App.config │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── 11 │ ├── 11_Collections │ │ ├── 11_Collections.sln │ │ └── 11_Collections │ │ │ ├── 11_Collections.csproj │ │ │ ├── App.config │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ └── 11_CustomCollection │ │ ├── 11_CustomCollection.sln │ │ └── 11_CustomCollection │ │ ├── 11_CustomCollection.csproj │ │ ├── App.config │ │ ├── PrintableList.cs │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── 12 │ ├── 12_Enumerables │ │ ├── 12_Enumerables.sln │ │ └── 12_Enumerables │ │ │ ├── 12_Enumerables.csproj │ │ │ ├── App.config │ │ │ ├── Book.cs │ │ │ ├── Library.cs │ │ │ ├── Library2.cs │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ ├── 12_TestCPPMemory │ │ ├── 12_TestCPPMemory.sln │ │ └── 12_TestCPPMemory │ │ │ ├── 12_TestCPPMemory.cpp │ │ │ ├── 12_TestCPPMemory.vcxproj │ │ │ ├── 12_TestCPPMemory.vcxproj.filters │ │ │ ├── ReadMe.txt │ │ │ ├── stdafx.cpp │ │ │ ├── stdafx.h │ │ │ └── targetver.h │ └── 12_TestCSharpMemory │ │ ├── 12_TestCSharpMemory.sln │ │ └── 12_TestCSharpMemory │ │ ├── 12_TestCSharpMemory.csproj │ │ ├── App.config │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── 13 │ ├── 13_LINQ │ │ ├── 13_LINQ.sln │ │ └── 13_LINQ │ │ │ ├── 13_LINQ.csproj │ │ │ ├── App.config │ │ │ ├── Extensions.cs │ │ │ ├── Person.cs │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ └── 13_LINQ2 │ │ ├── 13_LINQ2.sln │ │ └── 13_LINQ2 │ │ ├── 13_LINQ2.csproj │ │ ├── App.config │ │ ├── Person.cs │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── 14 │ ├── 14_Features │ │ ├── 14_Features.sln │ │ ├── 14_Features │ │ │ ├── 14_Features.csproj │ │ │ ├── App.config │ │ │ ├── Class1.cs │ │ │ ├── DbManager.cs │ │ │ ├── Del.cs │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ │ └── AssemblyInfo.cs │ │ └── WindowsFormsApplication1 │ │ │ ├── App.config │ │ │ ├── Form1.Designer.cs │ │ │ ├── Form1.cs │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ │ └── WindowsFormsApplication1.csproj │ ├── 14_LINQ3 │ │ ├── 14_LINQ3.sln │ │ └── 14_LINQ3 │ │ │ ├── 14_LINQ3.csproj │ │ │ ├── App.config │ │ │ ├── Company.cs │ │ │ ├── Person.cs │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ └── 14_Variativeness │ │ ├── 14_Variativeness.sln │ │ └── 14_Variativeness │ │ ├── 14_Variativeness.csproj │ │ ├── App.config │ │ ├── Container.cs │ │ ├── IContainer.cs │ │ ├── Program.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ └── Shape.cs ├── 16 │ └── 16_Threading │ │ ├── 16_Threading.csproj │ │ ├── 16_Threading.sln │ │ ├── 16_Threading.v12.suo │ │ ├── App.config │ │ ├── Atomic.cs │ │ ├── AtomicIncrement.cs │ │ ├── DeadLock.cs │ │ ├── Program.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ └── SharedData.cs ├── 02_GuessNumber │ ├── 02_GuessNumber.sln │ └── 02_GuessNumber │ │ ├── 02_GuessNumber.csproj │ │ ├── App.config │ │ ├── Class10.cs │ │ ├── Program.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ └── xxx.cs ├── 02_Types │ ├── 02_Types.sln │ └── 02_Types │ │ ├── 02_Types.csproj │ │ ├── App.config │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── 04_Converter │ ├── 04_Converter.sln │ ├── 04_Converter │ │ ├── 04_Converter.csproj │ │ ├── Converter.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ └── ConverterTest │ │ ├── ConverterTest.csproj │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ └── UnitTest1.cs ├── 04_Exceptions │ ├── 04_Exceptions.sln │ ├── 04_Exceptions │ │ ├── 04_Exceptions.csproj │ │ ├── App.config │ │ ├── Program.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ └── ReportLib │ │ ├── Class1.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── ReportException.cs │ │ └── ReportLib.csproj ├── 05_Files │ ├── 05_Files.sln │ └── 05_Files │ │ ├── 05_Files.csproj │ │ ├── App.config │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── 05_Streams │ ├── 05_Streams.sln │ └── 05_Streams │ │ ├── 05_Streams.csproj │ │ ├── App.config │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── 06_NewTypes │ ├── 06_NewTypes.sln │ └── 06_NewTypes │ │ ├── 06_NewTypes.csproj │ │ ├── App.config │ │ ├── Day.cs │ │ ├── Input.cs │ │ ├── Person.cs │ │ ├── PersonInfo.cs │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── 07_Avionika │ ├── 07_Avionika.sln │ └── 07_Avionika │ │ ├── 07_Avionika.csproj │ │ ├── App.config │ │ ├── BoardSystem.cs │ │ ├── Engine.cs │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── 07_Classes │ ├── 07_Classes.sln │ ├── 07_Classes │ │ ├── 07_Classes.csproj │ │ ├── App.config │ │ ├── Program.cs │ │ ├── Program2.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ └── ClassLibrary1 │ │ ├── ClassLibrary1.csproj │ │ ├── Person.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── 08 │ ├── 07_Avionika │ │ ├── 07_Avionika.sln │ │ └── 07_Avionika │ │ │ ├── 07_Avionika.csproj │ │ │ ├── App.config │ │ │ ├── BoardSystem.cs │ │ │ ├── Devices │ │ │ ├── BaseDevice.cs │ │ │ ├── Engine.cs │ │ │ ├── IBaseDevice.cs │ │ │ └── Sensor.cs │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ └── 08_DemoInterfaces │ │ ├── 08_DemoInterfaces.sln │ │ └── 08_DemoInterfaces │ │ ├── 08_DemoInterfaces.csproj │ │ ├── App.config │ │ ├── MyComparer.cs │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── 09 │ ├── 07_Avionika │ │ ├── 07_Avionika.sln │ │ └── 07_Avionika │ │ │ ├── 07_Avionika.csproj │ │ │ ├── App.config │ │ │ ├── BoardSystem.cs │ │ │ ├── Devices │ │ │ ├── BaseDevice.cs │ │ │ ├── Engine.cs │ │ │ ├── IBaseDevice.cs │ │ │ └── Sensor.cs │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ └── 09_Matrix │ │ ├── 09_Matrix.sln │ │ └── 09_Matrix │ │ ├── 09_Matrix.csproj │ │ ├── App.config │ │ ├── Matrix.cs │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── Books │ ├── C# 5.0 in a Nutshell [Albahari Albahari] [2012] [pdf] [www.bookstor.ru].pdf │ ├── Mark Michaelis - Essential C# 4.0, 3rd Edition 2010.pdf │ ├── Microsoft.Press.CLR.via.Csharp.4th.Edition.Oct.2012.pdf │ ├── Skeet J. - C# in Depth, 3rd Edition - 2013.pdf │ ├── Рихтер Дж. - CLR via C#. Программирование на платформе Microsoft .NET Framework 4.5 на языке C# (Мастер-класс) - 2013.pdf │ ├── Рихтер Дж. - CLR via C#. Программирование на платформе Microsoft .NET Framework 4.0 на языке C# (Мастер-класс) - 2012.pdf │ ├── Скит Дж. - C# программирование для профессионалов - 2011.djvu │ └── Троелсен Э. - Язык программирования C# 2010 и платформа .NET 4 - 2010.djvu └── МатериалНепройденный.txt ├── Level 2 ├── 10 │ ├── DemoExpressionTree │ │ ├── ConsoleApplication1.sln │ │ └── ConsoleApplication1 │ │ │ ├── App.config │ │ │ ├── ConsoleApplication1.csproj │ │ │ ├── Customers.cs │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ └── Inspector │ │ ├── Inspector.BLL │ │ ├── Bootstrapper.cs │ │ ├── Inspector.BLL.csproj │ │ ├── Managers │ │ │ └── CatalogManager.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.DAL │ │ ├── 00_Data.sql │ │ ├── 00_Initial.sql │ │ ├── AdoNet │ │ │ ├── AdoNetConnectionFactory.cs │ │ │ ├── AdoNetDbContext.cs │ │ │ ├── AdoNetUnitOfWork.cs │ │ │ └── GenericRepository.cs │ │ ├── Bootstrapper.cs │ │ ├── Db.cs │ │ ├── Exceptions │ │ │ └── DalException.cs │ │ ├── Inspector.DAL.csproj │ │ ├── Interfaces │ │ │ ├── IConnectionFactory.cs │ │ │ ├── IDbContext.cs │ │ │ ├── IRepository.cs │ │ │ └── IUnitOfWork.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.Domain │ │ ├── Inspector.Domain.csproj │ │ ├── Interfaces │ │ │ ├── ICatalogManager.cs │ │ │ └── IReportManager.cs │ │ ├── Ioc │ │ │ ├── IoC.cs │ │ │ └── IoCException.cs │ │ ├── Misc │ │ │ ├── Filter.cs │ │ │ └── TableAttribute.cs │ │ ├── Models │ │ │ ├── Area.cs │ │ │ ├── FinIndex.cs │ │ │ ├── GenericEntity.cs │ │ │ ├── IEntity.cs │ │ │ ├── OrgType.cs │ │ │ └── Organization.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.GUI │ │ ├── AboutWindow.xaml │ │ ├── AboutWindow.xaml.cs │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── CatalogManager.cs │ │ ├── Inspector.GUI.csproj │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ └── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── Inspector.Test │ │ ├── BLL │ │ │ └── CatalogManagerTest.cs │ │ ├── DAL │ │ │ └── GenericRepositoryTest.cs │ │ ├── Helpers │ │ │ └── DbContextHelper.cs │ │ ├── Inspector.Test.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.sln │ │ └── packages │ │ └── repositories.config ├── 11 │ └── Inspector │ │ ├── Inspector.BLL │ │ ├── Bootstrapper.cs │ │ ├── Inspector.BLL.csproj │ │ ├── Managers │ │ │ ├── CatalogManager.cs │ │ │ ├── FinancialManager.cs │ │ │ └── GenericManager.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.DAL │ │ ├── 00_Data.sql │ │ ├── 00_Initial.sql │ │ ├── AdoNet │ │ │ ├── AdoNetConnectionFactory.cs │ │ │ ├── AdoNetDbContext.cs │ │ │ ├── AdoNetUnitOfWork.cs │ │ │ └── GenericRepository.cs │ │ ├── Bootstrapper.cs │ │ ├── Db.cs │ │ ├── Exceptions │ │ │ └── DalException.cs │ │ ├── Inspector.DAL.csproj │ │ ├── Interfaces │ │ │ ├── IConnectionFactory.cs │ │ │ ├── IDbContext.cs │ │ │ ├── IRepository.cs │ │ │ └── IUnitOfWork.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.Domain │ │ ├── Inspector.Domain.csproj │ │ ├── Interfaces │ │ │ ├── ICatalogManager.cs │ │ │ ├── IFinancialManager.cs │ │ │ └── IReportManager.cs │ │ ├── Ioc │ │ │ ├── IoC.cs │ │ │ └── IoCException.cs │ │ ├── Misc │ │ │ ├── Filter.cs │ │ │ └── TableAttribute.cs │ │ ├── Models │ │ │ ├── Area.cs │ │ │ ├── FinIndex.cs │ │ │ ├── GenericEntity.cs │ │ │ ├── IEntity.cs │ │ │ ├── OrgType.cs │ │ │ └── Organization.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.GUI │ │ ├── AboutWindow.xaml │ │ ├── AboutWindow.xaml.cs │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── Inspector.GUI.csproj │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── StringExt.cs │ │ └── packages.config │ │ ├── Inspector.Test │ │ ├── BLL │ │ │ └── CatalogManagerTest.cs │ │ ├── DAL │ │ │ └── GenericRepositoryTest.cs │ │ ├── Helpers │ │ │ └── DbContextHelper.cs │ │ ├── Inspector.Test.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.sln │ │ └── packages │ │ └── repositories.config ├── 12 │ └── Inspector │ │ ├── Inspector.BLL │ │ ├── Bootstrapper.cs │ │ ├── Inspector.BLL.csproj │ │ ├── Managers │ │ │ ├── CatalogManager.cs │ │ │ ├── FinancialManager.cs │ │ │ └── GenericManager.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.DAL │ │ ├── 00_Data.sql │ │ ├── 00_Initial.sql │ │ ├── AdoNet │ │ │ ├── AdoNetConnectionFactory.cs │ │ │ ├── AdoNetDbContext.cs │ │ │ ├── AdoNetUnitOfWork.cs │ │ │ └── GenericRepository.cs │ │ ├── Bootstrapper.cs │ │ ├── Db.cs │ │ ├── Exceptions │ │ │ └── DalException.cs │ │ ├── Inspector.DAL.csproj │ │ ├── Interfaces │ │ │ ├── IConnectionFactory.cs │ │ │ ├── IDbContext.cs │ │ │ ├── IRepository.cs │ │ │ └── IUnitOfWork.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.Domain │ │ ├── Inspector.Domain.csproj │ │ ├── Interfaces │ │ │ ├── ICatalogManager.cs │ │ │ ├── IFinancialManager.cs │ │ │ └── IReportManager.cs │ │ ├── Ioc │ │ │ ├── IoC.cs │ │ │ └── IoCException.cs │ │ ├── Misc │ │ │ ├── Filter.cs │ │ │ └── TableAttribute.cs │ │ ├── Models │ │ │ ├── Area.cs │ │ │ ├── FinIndex.cs │ │ │ ├── GenericEntity.cs │ │ │ ├── IEntity.cs │ │ │ ├── OrgType.cs │ │ │ └── Organization.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.GUI │ │ ├── AboutWindow.xaml │ │ ├── AboutWindow.xaml.cs │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── Forms │ │ │ ├── DescriptionsForm.xaml │ │ │ ├── DescriptionsForm.xaml.cs │ │ │ ├── InitialDataTypingForm.xaml │ │ │ └── InitialDataTypingForm.xaml.cs │ │ ├── Inspector.GUI.csproj │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── StringExt.cs │ │ └── packages.config │ │ ├── Inspector.Test │ │ ├── BLL │ │ │ └── CatalogManagerTest.cs │ │ ├── DAL │ │ │ └── GenericRepositoryTest.cs │ │ ├── Helpers │ │ │ └── DbContextHelper.cs │ │ ├── Inspector.Test.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.sln │ │ └── packages │ │ └── repositories.config ├── 13 │ └── Inspector │ │ ├── Inspector.BLL │ │ ├── Bootstrapper.cs │ │ ├── Inspector.BLL.csproj │ │ ├── Managers │ │ │ ├── CatalogManager.cs │ │ │ ├── FinancialManager.cs │ │ │ └── GenericManager.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.DAL │ │ ├── 00_Data.sql │ │ ├── 00_Initial.sql │ │ ├── AdoNet │ │ │ ├── AdoNetConnectionFactory.cs │ │ │ ├── AdoNetDbContext.cs │ │ │ ├── AdoNetUnitOfWork.cs │ │ │ └── GenericRepository.cs │ │ ├── Bootstrapper.cs │ │ ├── Db.cs │ │ ├── Exceptions │ │ │ └── DalException.cs │ │ ├── Inspector.DAL.csproj │ │ ├── Interfaces │ │ │ ├── IConnectionFactory.cs │ │ │ ├── IDbContext.cs │ │ │ ├── IRepository.cs │ │ │ └── IUnitOfWork.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.Domain │ │ ├── Inspector.Domain.csproj │ │ ├── Interfaces │ │ │ ├── ICatalogManager.cs │ │ │ ├── IFinancialManager.cs │ │ │ └── IReportManager.cs │ │ ├── Ioc │ │ │ ├── IoC.cs │ │ │ ├── IoCException.cs │ │ │ └── IoCMode.cs │ │ ├── Misc │ │ │ ├── Filter.cs │ │ │ └── TableAttribute.cs │ │ ├── Models │ │ │ ├── Area.cs │ │ │ ├── FinIndex.cs │ │ │ ├── GenericEntity.cs │ │ │ ├── IEntity.cs │ │ │ ├── OrgType.cs │ │ │ └── Organization.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.GUI │ │ ├── AboutWindow.xaml │ │ ├── AboutWindow.xaml.cs │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── Forms │ │ │ ├── DescriptionsForm.xaml │ │ │ ├── DescriptionsForm.xaml.cs │ │ │ ├── IFormHost.cs │ │ │ ├── InitialDataTypingForm.xaml │ │ │ └── InitialDataTypingForm.xaml.cs │ │ ├── Inspector.GUI.csproj │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── StringExt.cs │ │ ├── StylesDictionary.xaml │ │ └── packages.config │ │ ├── Inspector.Test │ │ ├── BLL │ │ │ └── CatalogManagerTest.cs │ │ ├── DAL │ │ │ └── GenericRepositoryTest.cs │ │ ├── Helpers │ │ │ └── DbContextHelper.cs │ │ ├── Inspector.Test.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.sln │ │ └── packages │ │ └── repositories.config ├── 01_WinForms │ ├── 01_WinForms.sln │ └── 01_WinForms │ │ ├── 01_WinForms.csproj │ │ ├── App.config │ │ ├── MainForm.Designer.cs │ │ ├── MainForm.cs │ │ ├── MainForm.resx │ │ ├── Program.cs │ │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── 02_Win32 │ ├── App.config │ ├── Program.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ ├── Win32.cs │ ├── Win32.csproj │ ├── Win32.sln │ ├── Win32.v12.suo │ ├── Win32 │ │ ├── App.config │ │ ├── Program.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── Win32.cs │ │ └── Win32.csproj │ ├── WinForms │ │ ├── App.config │ │ ├── Form1.Designer.cs │ │ ├── Form1.cs │ │ ├── Form1.resx │ │ ├── Program.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ └── WinForms.csproj │ └── Wpf │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ │ └── Wpf.csproj ├── 03 │ └── Inspector │ │ ├── Inspector.BLL │ │ ├── Inspector.BLL.csproj │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.DAL │ │ ├── Inspector.DAL.csproj │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.Domain │ │ ├── Inspector.Domain.csproj │ │ ├── Interfaces │ │ │ └── IReportManager.cs │ │ ├── Misc │ │ │ └── Filter.cs │ │ ├── Models │ │ │ ├── Area.cs │ │ │ ├── FinIndex.cs │ │ │ ├── OrgType.cs │ │ │ └── Organization.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.GUI │ │ ├── AboutWindow.xaml │ │ ├── AboutWindow.xaml.cs │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── Inspector.GUI.csproj │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ └── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ └── Inspector.sln ├── 04 │ └── Inspector │ │ ├── Inspector.BLL │ │ ├── Bootstrapper.cs │ │ ├── Inspector.BLL.csproj │ │ ├── Managers │ │ │ └── CatalogManager.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.DAL │ │ ├── Inspector.DAL.csproj │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.Domain │ │ ├── Inspector.Domain.csproj │ │ ├── Interfaces │ │ │ ├── ICatalogManager.cs │ │ │ └── IReportManager.cs │ │ ├── Ioc │ │ │ ├── IoC.cs │ │ │ └── IoCException.cs │ │ ├── Misc │ │ │ └── Filter.cs │ │ ├── Models │ │ │ ├── Area.cs │ │ │ ├── FinIndex.cs │ │ │ ├── OrgType.cs │ │ │ └── Organization.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.GUI │ │ ├── AboutWindow.xaml │ │ ├── AboutWindow.xaml.cs │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── CatalogManager.cs │ │ ├── Inspector.GUI.csproj │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ └── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── Inspector.Test │ │ ├── BLL │ │ │ └── CatalogManagerTest.cs │ │ ├── Inspector.Test.csproj │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ └── Inspector.sln ├── 05 │ └── Inspector │ │ ├── Inspector.BLL │ │ ├── Bootstrapper.cs │ │ ├── Inspector.BLL.csproj │ │ ├── Managers │ │ │ └── CatalogManager.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.DAL │ │ ├── Inspector.DAL.csproj │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.Domain │ │ ├── Inspector.Domain.csproj │ │ ├── Interfaces │ │ │ ├── ICatalogManager.cs │ │ │ └── IReportManager.cs │ │ ├── Ioc │ │ │ ├── IoC.cs │ │ │ └── IoCException.cs │ │ ├── Misc │ │ │ └── Filter.cs │ │ ├── Models │ │ │ ├── Area.cs │ │ │ ├── FinIndex.cs │ │ │ ├── OrgType.cs │ │ │ └── Organization.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.GUI │ │ ├── AboutWindow.xaml │ │ ├── AboutWindow.xaml.cs │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── CatalogManager.cs │ │ ├── Inspector.GUI.csproj │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ └── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── Inspector.Test │ │ ├── BLL │ │ │ └── CatalogManagerTest.cs │ │ ├── Inspector.Test.csproj │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ └── Inspector.sln ├── 06 │ └── Inspector │ │ ├── Inspector.BLL │ │ ├── Bootstrapper.cs │ │ ├── Inspector.BLL.csproj │ │ ├── Managers │ │ │ └── CatalogManager.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.DAL │ │ ├── 00_Data.sql │ │ ├── 00_Initial.sql │ │ ├── Db.cs │ │ ├── Inspector.DAL.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.Domain │ │ ├── Inspector.Domain.csproj │ │ ├── Interfaces │ │ │ ├── ICatalogManager.cs │ │ │ └── IReportManager.cs │ │ ├── Ioc │ │ │ ├── IoC.cs │ │ │ └── IoCException.cs │ │ ├── Misc │ │ │ └── Filter.cs │ │ ├── Models │ │ │ ├── Area.cs │ │ │ ├── FinIndex.cs │ │ │ ├── OrgType.cs │ │ │ └── Organization.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.GUI │ │ ├── AboutWindow.xaml │ │ ├── AboutWindow.xaml.cs │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── CatalogManager.cs │ │ ├── Inspector.GUI.csproj │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ └── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── Inspector.Test │ │ ├── BLL │ │ │ └── CatalogManagerTest.cs │ │ ├── Inspector.Test.csproj │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.sln │ │ └── packages │ │ └── repositories.config ├── 08 │ └── Inspector │ │ ├── Inspector.BLL │ │ ├── Bootstrapper.cs │ │ ├── Inspector.BLL.csproj │ │ ├── Managers │ │ │ └── CatalogManager.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.DAL │ │ ├── 00_Data.sql │ │ ├── 00_Initial.sql │ │ ├── AdoNet │ │ │ ├── AdoNetConnectionFactory.cs │ │ │ ├── AdoNetDbContext.cs │ │ │ ├── AdoNetUnitOfWork.cs │ │ │ └── GenericRepository.cs │ │ ├── Bootstrapper.cs │ │ ├── Db.cs │ │ ├── Exceptions │ │ │ └── DalException.cs │ │ ├── Inspector.DAL.csproj │ │ ├── Interfaces │ │ │ ├── IConnectionFactory.cs │ │ │ ├── IDbContext.cs │ │ │ ├── IRepository.cs │ │ │ └── IUnitOfWork.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.Domain │ │ ├── Inspector.Domain.csproj │ │ ├── Interfaces │ │ │ ├── ICatalogManager.cs │ │ │ └── IReportManager.cs │ │ ├── Ioc │ │ │ ├── IoC.cs │ │ │ └── IoCException.cs │ │ ├── Misc │ │ │ └── Filter.cs │ │ ├── Models │ │ │ ├── Area.cs │ │ │ ├── FinIndex.cs │ │ │ ├── OrgType.cs │ │ │ └── Organization.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.GUI │ │ ├── AboutWindow.xaml │ │ ├── AboutWindow.xaml.cs │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── CatalogManager.cs │ │ ├── Inspector.GUI.csproj │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ └── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── Inspector.Test │ │ ├── BLL │ │ │ └── CatalogManagerTest.cs │ │ ├── Helpers │ │ │ └── DbContextHelper.cs │ │ ├── Inspector.Test.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.sln │ │ └── packages │ │ └── repositories.config ├── 09 │ └── Inspector │ │ ├── Inspector.BLL │ │ ├── Bootstrapper.cs │ │ ├── Inspector.BLL.csproj │ │ ├── Managers │ │ │ └── CatalogManager.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.DAL │ │ ├── 00_Data.sql │ │ ├── 00_Initial.sql │ │ ├── AdoNet │ │ │ ├── AdoNetConnectionFactory.cs │ │ │ ├── AdoNetDbContext.cs │ │ │ ├── AdoNetUnitOfWork.cs │ │ │ └── GenericRepository.cs │ │ ├── Bootstrapper.cs │ │ ├── Db.cs │ │ ├── Exceptions │ │ │ └── DalException.cs │ │ ├── Inspector.DAL.csproj │ │ ├── Interfaces │ │ │ ├── IConnectionFactory.cs │ │ │ ├── IDbContext.cs │ │ │ ├── IRepository.cs │ │ │ └── IUnitOfWork.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.Domain │ │ ├── Inspector.Domain.csproj │ │ ├── Interfaces │ │ │ ├── ICatalogManager.cs │ │ │ └── IReportManager.cs │ │ ├── Ioc │ │ │ ├── IoC.cs │ │ │ └── IoCException.cs │ │ ├── Misc │ │ │ ├── Filter.cs │ │ │ └── TableAttribute.cs │ │ ├── Models │ │ │ ├── Area.cs │ │ │ ├── FinIndex.cs │ │ │ ├── GenericEntity.cs │ │ │ ├── IEntity.cs │ │ │ ├── OrgType.cs │ │ │ └── Organization.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.GUI │ │ ├── AboutWindow.xaml │ │ ├── AboutWindow.xaml.cs │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── CatalogManager.cs │ │ ├── Inspector.GUI.csproj │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ └── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── Inspector.Test │ │ ├── BLL │ │ │ └── CatalogManagerTest.cs │ │ ├── Helpers │ │ │ └── DbContextHelper.cs │ │ ├── Inspector.Test.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.sln │ │ └── packages │ │ └── repositories.config ├── Prepar │ └── Inspector │ │ ├── Inspector.BLL │ │ ├── Bootstrapper.cs │ │ ├── Inspector.BLL.csproj │ │ ├── Managers │ │ │ ├── CatalogManager.cs │ │ │ ├── FinancialManager.cs │ │ │ └── GenericManager.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.DAL │ │ ├── 00_Data.sql │ │ ├── 00_Initial.sql │ │ ├── AdoNet │ │ │ ├── AdoNetConnectionFactory.cs │ │ │ ├── AdoNetDbContext.cs │ │ │ ├── AdoNetUnitOfWork.cs │ │ │ └── GenericRepository.cs │ │ ├── Bootstrapper.cs │ │ ├── Db.cs │ │ ├── Exceptions │ │ │ └── DalException.cs │ │ ├── Inspector.DAL.csproj │ │ ├── Interfaces │ │ │ ├── IConnectionFactory.cs │ │ │ ├── IDbContext.cs │ │ │ ├── IRepository.cs │ │ │ └── IUnitOfWork.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.Domain │ │ ├── Inspector.Domain.csproj │ │ ├── Interfaces │ │ │ ├── ICatalogManager.cs │ │ │ ├── IFinancialManager.cs │ │ │ └── IReportManager.cs │ │ ├── Ioc │ │ │ ├── IoC.cs │ │ │ └── IoCException.cs │ │ ├── Misc │ │ │ ├── Filter.cs │ │ │ └── TableAttribute.cs │ │ ├── Models │ │ │ ├── Area.cs │ │ │ ├── FinIndex.cs │ │ │ ├── GenericEntity.cs │ │ │ ├── IEntity.cs │ │ │ ├── OrgType.cs │ │ │ └── Organization.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Inspector.GUI │ │ ├── AboutWindow.xaml │ │ ├── AboutWindow.xaml.cs │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── Inspector.GUI.csproj │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── StringExt.cs │ │ ├── StylesDictionary.xaml │ │ ├── Views │ │ │ ├── DescriptionView.xaml │ │ │ ├── DescriptionView.xaml.cs │ │ │ ├── IViewHost.cs │ │ │ ├── InitialDataTypingView.xaml │ │ │ └── InitialDataTypingView.xaml.cs │ │ └── packages.config │ │ ├── Inspector.Test │ │ ├── BLL │ │ │ └── CatalogManagerTest.cs │ │ ├── DAL │ │ │ └── GenericRepositoryTest.cs │ │ ├── Helpers │ │ │ └── DbContextHelper.cs │ │ ├── Inspector.Test.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Inspector.sln │ │ └── packages │ │ └── repositories.config └── holder ├── Level 3 └── holder ├── Level 4 ├── IIS_ASP_NET.jpg └── lifecycle-of-an-aspnet-mvc-5-application.pdf ├── Level 5 └── holder ├── Links.txt ├── PREPOD21.LOG └── pull.cmd /.gitignore: -------------------------------------------------------------------------------- 1 | /Level 1/02_GuessNumber/*.suo 2 | /Level 1/02_Types/*.suo 3 | /Level 1/04_Converter/*.suo 4 | /Level 1/04_Exceptions/*.suo 5 | /Level 1/05_Files/*.suo 6 | /Level 1/05_Streams/*.suo 7 | /Level 1/06_NewTypes/*.suo 8 | /Level 1/07_Avionika/*.suo 9 | /Level 1/07_Classes/*.suo 10 | /Level 1/08/07_Avionika/*.suo 11 | /Level 1/08/08_DemoInterfaces/*.suo 12 | /Level 1/14/14_Features/*.suo 13 | /Level 1/14/14_LINQ3/*.suo 14 | /Level 1/14/14_Variativeness/*.suo 15 | -------------------------------------------------------------------------------- /Level 1/02_GuessNumber/02_GuessNumber/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/02_GuessNumber/02_GuessNumber/Class10.cs: -------------------------------------------------------------------------------- 1 | using XXX; 2 | 3 | namespace School50 4 | { 5 | class Class10 6 | { 7 | public Class10(xxx e) 8 | { 9 | 10 | } 11 | public xxx m1(xxx x) 12 | { 13 | return new xxx(); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Level 1/02_GuessNumber/02_GuessNumber/xxx.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace XXX 3 | { 4 | class xxx 5 | { 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Level 1/02_Types/02_Types/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/02_Types/02_Types/Program.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 _02_Types 8 | { 9 | class Program 10 | { 11 | static void Main(string[] args) 12 | { 13 | Console.WriteLine("Enter any string:"); 14 | 15 | string st = Console.ReadLine(); 16 | 17 | Console.WriteLine("You have entered: " + st); 18 | 19 | for (int k = 0; k < st.Length; k++) 20 | Console.WriteLine(st[k]); 21 | 22 | for (int k = 0; k < st.Length; k++) 23 | Console.Write(st[k]); 24 | 25 | Console.WriteLine(); 26 | 27 | for (int k = st.Length - 1; k >= 0; k--) 28 | Console.Write(st[k]); 29 | 30 | Console.WriteLine(); Console.WriteLine(); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Level 1/04_Converter/04_Converter/Converter.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 _04_Converter 8 | { 9 | public class Converter 10 | { 11 | public static void Main() 12 | { 13 | string st = Console.ReadLine(); 14 | 15 | int n = ToInt(st); 16 | 17 | Console.WriteLine(n); 18 | } 19 | 20 | public static int ToInt(string st) 21 | { 22 | int res = 0; 23 | 24 | for (int k = st.Length - 1; k >= 0; k-- ) 25 | { 26 | char c = st[k]; 27 | int n = (byte)c - 0x30; 28 | 29 | int a = st.Length - k - 1; 30 | 31 | res = res + (int)Math.Pow(10, a) * n; 32 | } 33 | 34 | return res; 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Level 1/04_Exceptions/04_Exceptions/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/04_Exceptions/ReportLib/Class1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace ReportLib 9 | { 10 | public static class ReportPrinter 11 | { 12 | public static void YearReport() 13 | { 14 | var ex = new ReportException(); 15 | 16 | try 17 | { 18 | throw ex; 19 | 20 | Debug.WriteLine("TRY"); 21 | } 22 | catch(FormatException) 23 | { 24 | Debug.WriteLine("CATCH"); 25 | } 26 | finally 27 | { 28 | Debug.WriteLine("FINALLY"); 29 | } 30 | 31 | Debug.WriteLine("AFTER FINALLY"); 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Level 1/04_Exceptions/ReportLib/ReportException.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 ReportLib 8 | { 9 | public class ReportException : Exception 10 | { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Level 1/05_Files/05_Files/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/05_Streams/05_Streams/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/06_NewTypes/06_NewTypes/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Level 1/06_NewTypes/06_NewTypes/Day.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 _06_NewTypes 8 | { 9 | enum Day 10 | { 11 | Mon, 12 | Tue, 13 | Wed 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Level 1/06_NewTypes/06_NewTypes/Input.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace _06_NewTypes 7 | { 8 | internal static class Input 9 | { 10 | internal static void Print(string s) 11 | { 12 | Console.WriteLine(s); 13 | } 14 | 15 | internal static string GetStr(string s) 16 | { 17 | Console.WriteLine(s); 18 | 19 | return Console.ReadLine(); 20 | } 21 | 22 | internal static int GetInt(string s) 23 | { 24 | try 25 | { 26 | return Convert.ToInt32(GetStr(s)); 27 | } 28 | catch(FormatException) 29 | { 30 | return int.MinValue; 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Level 1/06_NewTypes/06_NewTypes/PersonInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace _06_NewTypes 7 | { 8 | struct PersonInfo 9 | { 10 | public string Account { get; set; } 11 | public decimal Summa { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Level 1/07_Avionika/07_Avionika/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/07_Avionika/07_Avionika/Engine.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace _07_Avionika 4 | { 5 | internal class Engine 6 | { 7 | private string _type; 8 | 9 | public Engine(string type) 10 | { 11 | _type = type; 12 | } 13 | 14 | internal void Start() 15 | { 16 | Console.WriteLine("Engine {0} Started", _type); 17 | } 18 | 19 | internal void Stop() 20 | { 21 | Console.WriteLine("Engine {0} Stopped", _type); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Level 1/07_Avionika/07_Avionika/Program.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 _07_Avionika 8 | { 9 | class Program 10 | { 11 | static void Main(string[] args) 12 | { 13 | new BoardSystem().Run(); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Level 1/07_Classes/07_Classes/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/07_Classes/07_Classes/Program.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 _07_Classes 8 | { 9 | class Program 10 | { 11 | static void Main2(string[] args) 12 | { 13 | bool? b; 14 | 15 | b = null; 16 | b = true; 17 | b = false; 18 | 19 | if (b.HasValue) 20 | Console.WriteLine(b); 21 | 22 | var n = b.HasValue ? ((b.Value) ? 3 : 2) : 1; 23 | 24 | Console.WriteLine(n); 25 | 26 | int? x = null; 27 | 28 | x = 90; 29 | 30 | int r = x.Value; 31 | 32 | } 33 | 34 | private void x(Program _this, int e) 35 | { 36 | var w = this; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Level 1/07_Classes/07_Classes/Program2.cs: -------------------------------------------------------------------------------- 1 | using ClassLibrary1; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Data.SqlClient; 5 | using System.IO; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | 10 | namespace _07_Classes 11 | { 12 | public class Program2 13 | { 14 | public static void Main() 15 | { 16 | var p = new Person(); 17 | 18 | p.Name = "John"; 19 | 20 | p.Print(); 21 | 22 | p.Save(); 23 | } 24 | } 25 | 26 | internal static class PersonExt 27 | { 28 | public static void Print(this Person p) 29 | { 30 | Console.WriteLine("Person Name: " + p.Name); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Level 1/07_Classes/ClassLibrary1/Person.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | 9 | namespace ClassLibrary1 10 | { 11 | public class Person 12 | { 13 | public string Name { get; set; } 14 | 15 | public void Save() 16 | { 17 | Db.Store(this); 18 | } 19 | } 20 | 21 | public class Db 22 | { 23 | internal static void Store(Person p) 24 | { 25 | File.WriteAllText("persons.db", p.Name); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Level 1/08/07_Avionika/07_Avionika/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/08/07_Avionika/07_Avionika/Devices/BaseDevice.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 _07_Avionika.Devices 8 | { 9 | abstract class BaseDevice : IBaseDevice 10 | { 11 | private static int _counter; 12 | private int _id; 13 | 14 | public BaseDevice(int r) 15 | { 16 | _id = _counter++; 17 | } 18 | 19 | public virtual string GetInfo() 20 | { 21 | return string.Format(" ID = {0}", _id); 22 | } 23 | 24 | public void Start() 25 | { 26 | Console.WriteLine("{0}{1} Started", GetType().Name, GetInfo()); 27 | } 28 | 29 | public void Stop() 30 | { 31 | Console.WriteLine("{0}{1} Stopped", GetType().Name, GetInfo()); 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Level 1/08/07_Avionika/07_Avionika/Devices/Engine.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace _07_Avionika.Devices 4 | { 5 | internal sealed class Engine : BaseDevice 6 | { 7 | private string _type; 8 | 9 | public Engine(string type) : base(0) 10 | { 11 | _type = type; 12 | } 13 | 14 | public override string GetInfo() 15 | { 16 | return base.GetInfo() + " " + _type; 17 | } 18 | 19 | //internal void Start() 20 | //{ 21 | // Console.WriteLine("Engine {0} Started", _type); 22 | //} 23 | 24 | //internal void Stop() 25 | //{ 26 | // Console.WriteLine("Engine {0} Stopped", _type); 27 | //} 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Level 1/08/07_Avionika/07_Avionika/Devices/IBaseDevice.cs: -------------------------------------------------------------------------------- 1 | namespace _07_Avionika.Devices 2 | { 3 | internal interface IBaseDevice 4 | { 5 | void Start(); 6 | void Stop(); 7 | 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Level 1/08/07_Avionika/07_Avionika/Devices/Sensor.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 _07_Avionika.Devices 8 | { 9 | internal sealed class Sensor : BaseDevice 10 | { 11 | public Sensor() 12 | :base(0) 13 | { 14 | 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Level 1/08/07_Avionika/07_Avionika/Program.cs: -------------------------------------------------------------------------------- 1 | using _07_Avionika.Devices; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace _07_Avionika 9 | { 10 | class Program 11 | { 12 | static void Main(string[] args) 13 | { 14 | new BoardSystem().Run(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Level 1/08/08_DemoInterfaces/08_DemoInterfaces/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/08/08_DemoInterfaces/08_DemoInterfaces/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace _08_DemoInterfaces 9 | { 10 | class Program 11 | { 12 | static void Main(string[] args) 13 | { 14 | string[] mas = new string[]{"28052014", "14042014", "01012015"}; 15 | 16 | IComparer c = new MyComparer(); 17 | 18 | Array.Sort(mas, c); 19 | 20 | foreach (var item in mas) 21 | { 22 | Console.WriteLine(item); 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Level 1/09/07_Avionika/07_Avionika/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/09/07_Avionika/07_Avionika/Devices/Engine.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace _07_Avionika.Devices 4 | { 5 | internal sealed class Engine : BaseDevice 6 | { 7 | private string _type; 8 | 9 | public Engine(string type) : base(0) 10 | { 11 | _type = type; 12 | } 13 | 14 | public override string GetInfo() 15 | { 16 | var res = base.GetInfo() + " " + _type; 17 | 18 | if (!Started) 19 | { 20 | var time = (int)(DateTime.Now - StartTime).TotalMilliseconds; 21 | 22 | 23 | res += string.Format(" (Work Time = {0}ms) ", time); 24 | } 25 | 26 | return res; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Level 1/09/07_Avionika/07_Avionika/Devices/IBaseDevice.cs: -------------------------------------------------------------------------------- 1 | namespace _07_Avionika.Devices 2 | { 3 | internal interface IBaseDevice 4 | { 5 | void Start(); 6 | void Stop(); 7 | 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Level 1/09/07_Avionika/07_Avionika/Devices/Sensor.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 _07_Avionika.Devices 8 | { 9 | internal sealed class Sensor : BaseDevice 10 | { 11 | public Sensor() 12 | :base(0) 13 | { 14 | 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Level 1/09/07_Avionika/07_Avionika/Program.cs: -------------------------------------------------------------------------------- 1 | using _07_Avionika.Devices; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace _07_Avionika 9 | { 10 | class Program 11 | { 12 | static void Main(string[] args) 13 | { 14 | var bs = new BoardSystem(); 15 | 16 | var el = bs.Devices[0]; 17 | //var el2 = bs[345345]; 18 | 19 | //bs.Devices = null; 20 | 21 | foreach (var item in bs.Devices) 22 | { 23 | Console.WriteLine(item); 24 | } 25 | 26 | bs.Run(); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Level 1/09/09_Matrix/09_Matrix/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/10/07_Avionika/07_Avionika/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/10/07_Avionika/07_Avionika/Devices/Engine.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace _07_Avionika.Devices 4 | { 5 | internal sealed class Engine : BaseDevice 6 | { 7 | private string _type; 8 | 9 | public Engine(string type) : base() 10 | { 11 | _type = type; 12 | } 13 | 14 | public override string GetInfo() 15 | { 16 | var res = base.GetInfo() + " " + _type; 17 | 18 | if (!Started) 19 | { 20 | var time = (int)(DateTime.Now - StartTime).TotalMilliseconds; 21 | 22 | 23 | res += string.Format(" (Work Time = {0}ms) ", time); 24 | } 25 | 26 | return res; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Level 1/10/07_Avionika/07_Avionika/Devices/IBaseDevice.cs: -------------------------------------------------------------------------------- 1 | namespace _07_Avionika.Devices 2 | { 3 | internal interface IBaseDevice 4 | { 5 | void Start(); 6 | void Stop(); 7 | 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Level 1/10/07_Avionika/07_Avionika/Devices/PressureSensor.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 _07_Avionika.Devices 8 | { 9 | internal sealed class PressureSensor : Sensor 10 | { 11 | protected override void Generate() 12 | { 13 | var x = DateTime.Now.Millisecond; 14 | Console.WriteLine("Pressure = 4." + x); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Level 1/10/07_Avionika/07_Avionika/Devices/Sensor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using System.Timers; 8 | 9 | namespace _07_Avionika.Devices 10 | { 11 | internal abstract class Sensor : BaseDevice 12 | { 13 | private Timer _timer; 14 | public Sensor() :base() 15 | { 16 | _timer = new Timer(1500); 17 | _timer.Elapsed += (s, e) => 18 | { 19 | Generate(); 20 | //var p = new Process(); 21 | //p.StartInfo.FileName = "Notepad.exe"; 22 | //p.Start(); 23 | }; 24 | _timer.Start(); 25 | } 26 | 27 | protected abstract void Generate(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Level 1/10/07_Avionika/07_Avionika/Devices/VoltageSensor.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 _07_Avionika.Devices 8 | { 9 | internal sealed class VoltageSensor : Sensor 10 | { 11 | protected override void Generate() 12 | { 13 | var x = DateTime.Now.Millisecond; 14 | Console.WriteLine("Voltage = 1." + (x ^ 435).ToString()); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Level 1/10/07_Avionika/07_Avionika/Program.cs: -------------------------------------------------------------------------------- 1 | using _07_Avionika.Devices; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace _07_Avionika 9 | { 10 | class Program 11 | { 12 | static void Main(string[] args) 13 | { 14 | var bs = new BoardSystem(); 15 | 16 | var el = bs.Devices[0]; 17 | //var el2 = bs[345345]; 18 | 19 | //bs.Devices = null; 20 | 21 | foreach (var item in bs.Devices) 22 | { 23 | Console.WriteLine(item); 24 | } 25 | 26 | bs.Run(); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Level 1/10/10_Delegates/10_Delegates/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/10/10_Delegates/10_Delegates/Delegates.cs: -------------------------------------------------------------------------------- 1 | namespace _10_Delegates 2 | { 3 | delegate void Act(); 4 | delegate void ActStr(string st); 5 | delegate void ActStr2(string st1, string st2); 6 | 7 | delegate string StringDelegate(string st); 8 | } 9 | -------------------------------------------------------------------------------- /Level 1/10/10_Events/10_Events/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/11/11_Collections/11_Collections/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/11/11_CustomCollection/11_CustomCollection/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/12/12_Enumerables/12_Enumerables/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/12/12_Enumerables/12_Enumerables/Book.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 _12_Enumerables 8 | { 9 | internal class Book 10 | { 11 | public string Title { get; set; } 12 | public int Year { get; set; } 13 | 14 | public override string ToString() 15 | { 16 | return string.Format("{0} - {1}", Title, Year); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Level 1/12/12_TestCPPMemory/12_TestCPPMemory/12_TestCPPMemory.cpp: -------------------------------------------------------------------------------- 1 | // 12_TestCPPMemory.cpp : Defines the entry point for the console application. 2 | // 3 | 4 | #include "stdafx.h" 5 | 6 | 7 | int _tmain(int argc, _TCHAR* argv[]) 8 | { 9 | int n; 10 | 11 | n = 7; 12 | 13 | return 0; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /Level 1/12/12_TestCPPMemory/12_TestCPPMemory/stdafx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // 12_TestCPPMemory.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /Level 1/12/12_TestCPPMemory/12_TestCPPMemory/stdafx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #pragma once 7 | 8 | #include "targetver.h" 9 | 10 | #include 11 | #include 12 | 13 | 14 | 15 | // TODO: reference additional headers your program requires here 16 | -------------------------------------------------------------------------------- /Level 1/12/12_TestCPPMemory/12_TestCPPMemory/targetver.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // Including SDKDDKVer.h defines the highest available Windows platform. 4 | 5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and 6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. 7 | 8 | #include 9 | -------------------------------------------------------------------------------- /Level 1/12/12_TestCSharpMemory/12_TestCSharpMemory/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/13/13_LINQ/13_LINQ/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/13/13_LINQ/13_LINQ/Person.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace _13_LINQ 7 | { 8 | class Person 9 | { 10 | public string Name { get; set; } 11 | 12 | public int Age { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Level 1/13/13_LINQ2/13_LINQ2/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/13/13_LINQ2/13_LINQ2/Person.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace _13_LINQ2 7 | { 8 | class Person 9 | { 10 | public string Name { get; set; } 11 | 12 | public int Age { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Level 1/14/14_Features/14_Features/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/14/14_Features/14_Features/Class1.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 _14_Features 8 | { 9 | public partial class Class1 10 | { 11 | int r; 12 | int MyProperty { get; set; } 13 | public int MyProperty2 { get; set; } 14 | 15 | public void X() 16 | { 17 | Console.WriteLine("X"); 18 | Z(); 19 | } 20 | 21 | partial void Z(); 22 | } 23 | 24 | public class Class2 : Class1 25 | { 26 | 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Level 1/14/14_Features/14_Features/DbManager.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 _14_Features 8 | { 9 | class DbManager 10 | { 11 | private static DbManager _this; 12 | 13 | private DbManager() 14 | { 15 | 16 | } 17 | 18 | public static DbManager Instance 19 | { 20 | get 21 | { 22 | return _this ?? (_this = new DbManager()); 23 | } 24 | } 25 | 26 | public void X() 27 | { 28 | 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Level 1/14/14_Features/14_Features/Del.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 _14_Features 8 | { 9 | interface Del 10 | { 11 | void Work(T obj); 12 | } 13 | 14 | delegate void Del2(T obj); 15 | 16 | class DelImpl : Del 17 | { 18 | public void Work(T obj) 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Level 1/14/14_Features/WindowsFormsApplication1/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/14/14_Features/WindowsFormsApplication1/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace WindowsFormsApplication1 12 | { 13 | public partial class Form1 : Form 14 | { 15 | public Form1() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Level 1/14/14_Features/WindowsFormsApplication1/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 WindowsFormsApplication1 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 | -------------------------------------------------------------------------------- /Level 1/14/14_Features/WindowsFormsApplication1/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Level 1/14/14_LINQ3/14_LINQ3/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/14/14_LINQ3/14_LINQ3/Company.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace _14_LINQ3 7 | { 8 | class Company 9 | { 10 | public string Name { get; set; } 11 | 12 | public string Area { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Level 1/14/14_LINQ3/14_LINQ3/Person.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace _14_LINQ3 7 | { 8 | class Person 9 | { 10 | public string Name { get; set; } 11 | 12 | public int Age { get; set; } 13 | 14 | public string Company { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Level 1/14/14_Variativeness/14_Variativeness/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/14/14_Variativeness/14_Variativeness/Container.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 _14_Variativeness 8 | { 9 | public class Container : IContainer 10 | { 11 | public T GetItem() 12 | { 13 | return default(T); 14 | } 15 | } 16 | 17 | public class Container2 : IContainer2 18 | { 19 | public void SetItem(T obj) 20 | { 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Level 1/14/14_Variativeness/14_Variativeness/IContainer.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 _14_Variativeness 8 | { 9 | public interface IContainer 10 | { 11 | T GetItem(); 12 | } 13 | 14 | public interface IContainer2 15 | { 16 | void SetItem(T obj); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Level 1/14/14_Variativeness/14_Variativeness/Program.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 _14_Variativeness 8 | { 9 | 10 | class Program 11 | { 12 | static void Main(string[] args) 13 | { 14 | IContainer list = new Container(); 15 | 16 | Shape shape = new Circle(); 17 | 18 | Shape[] mas = new Shape[2]; 19 | mas[0] = new Circle(); 20 | 21 | list = new Container(); 22 | 23 | IContainer2 list2 = new Container2(); 24 | 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Level 1/14/14_Variativeness/14_Variativeness/Shape.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 _14_Variativeness 8 | { 9 | public class Shape 10 | { 11 | } 12 | 13 | public class Circle : Shape 14 | { 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /Level 1/16/16_Threading/16_Threading.v12.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micros-uz/csharp/4fef5a752e372d41aa2ad68432b6f6bef39ef7fe/Level 1/16/16_Threading/16_Threading.v12.suo -------------------------------------------------------------------------------- /Level 1/16/16_Threading/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 1/Books/C# 5.0 in a Nutshell [Albahari Albahari] [2012] [pdf] [www.bookstor.ru].pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micros-uz/csharp/4fef5a752e372d41aa2ad68432b6f6bef39ef7fe/Level 1/Books/C# 5.0 in a Nutshell [Albahari Albahari] [2012] [pdf] [www.bookstor.ru].pdf -------------------------------------------------------------------------------- /Level 1/Books/Mark Michaelis - Essential C# 4.0, 3rd Edition 2010.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micros-uz/csharp/4fef5a752e372d41aa2ad68432b6f6bef39ef7fe/Level 1/Books/Mark Michaelis - Essential C# 4.0, 3rd Edition 2010.pdf -------------------------------------------------------------------------------- /Level 1/Books/Microsoft.Press.CLR.via.Csharp.4th.Edition.Oct.2012.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micros-uz/csharp/4fef5a752e372d41aa2ad68432b6f6bef39ef7fe/Level 1/Books/Microsoft.Press.CLR.via.Csharp.4th.Edition.Oct.2012.pdf -------------------------------------------------------------------------------- /Level 1/Books/Skeet J. - C# in Depth, 3rd Edition - 2013.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micros-uz/csharp/4fef5a752e372d41aa2ad68432b6f6bef39ef7fe/Level 1/Books/Skeet J. - C# in Depth, 3rd Edition - 2013.pdf -------------------------------------------------------------------------------- /Level 1/Books/Рихтер Дж. - CLR via C#. Программирование на платформе Microsoft .NET Framework 4.5 на языке C# (Мастер-класс) - 2013.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micros-uz/csharp/4fef5a752e372d41aa2ad68432b6f6bef39ef7fe/Level 1/Books/Рихтер Дж. - CLR via C#. Программирование на платформе Microsoft .NET Framework 4.5 на языке C# (Мастер-класс) - 2013.pdf -------------------------------------------------------------------------------- /Level 1/Books/Рихтер Дж. - CLR via C#. Программирование на платформе Microsoft .NET Framework 4.0 на языке C# (Мастер-класс) - 2012.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micros-uz/csharp/4fef5a752e372d41aa2ad68432b6f6bef39ef7fe/Level 1/Books/Рихтер Дж. - CLR via C#. Программирование на платформе Microsoft .NET Framework 4.0 на языке C# (Мастер-класс) - 2012.pdf -------------------------------------------------------------------------------- /Level 1/Books/Скит Дж. - C# программирование для профессионалов - 2011.djvu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micros-uz/csharp/4fef5a752e372d41aa2ad68432b6f6bef39ef7fe/Level 1/Books/Скит Дж. - C# программирование для профессионалов - 2011.djvu -------------------------------------------------------------------------------- /Level 1/Books/Троелсен Э. - Язык программирования C# 2010 и платформа .NET 4 - 2010.djvu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micros-uz/csharp/4fef5a752e372d41aa2ad68432b6f6bef39ef7fe/Level 1/Books/Троелсен Э. - Язык программирования C# 2010 и платформа .NET 4 - 2010.djvu -------------------------------------------------------------------------------- /Level 1/МатериалНепройденный.txt: -------------------------------------------------------------------------------- 1 | 1) Partial methods and classes 2 | 2) Stucts http://msdn.microsoft.com/en-us/library/ms173109.aspx 3 | http://geekswithblogs.net/BlackRabbitCoder/archive/2010/07/29/c-fundamentals-the-differences-between-struct-and-class.aspx 4 | http://geekswithblogs.net/BlackRabbitCoder/archive/2010/07/29/c-fundamentals-the-differences-between-struct-and-class.aspx 5 | 6 | 3) ref keyword 7 | 4) covariance and contrvariance http://habrahabr.ru/post/43938/ 8 | -------------------------------------------------------------------------------- /Level 2/01_WinForms/01_WinForms/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 2/01_WinForms/01_WinForms/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 _01_WinForms 8 | { 9 | static class Program 10 | { 11 | [STAThread] 12 | static void Main() 13 | { 14 | Application.EnableVisualStyles(); 15 | Application.SetCompatibleTextRenderingDefault(false); 16 | Application.Run(new MainForm()); 17 | } 18 | } 19 | } 20 | 21 | 22 | -------------------------------------------------------------------------------- /Level 2/01_WinForms/01_WinForms/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Level 2/02_Win32/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 2/02_Win32/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Level 2/02_Win32/Win32.v12.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micros-uz/csharp/4fef5a752e372d41aa2ad68432b6f6bef39ef7fe/Level 2/02_Win32/Win32.v12.suo -------------------------------------------------------------------------------- /Level 2/02_Win32/Win32/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 2/02_Win32/Win32/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Level 2/02_Win32/WinForms/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 2/02_Win32/WinForms/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace WinForms 12 | { 13 | public partial class Form1 : Form 14 | { 15 | public Form1() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Level 2/02_Win32/WinForms/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 WinForms 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 | -------------------------------------------------------------------------------- /Level 2/02_Win32/WinForms/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Level 2/02_Win32/Wpf/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Level 2/02_Win32/Wpf/App.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Level 2/02_Win32/Wpf/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | 9 | namespace Wpf 10 | { 11 | /// 12 | /// Interaction logic for App.xaml 13 | /// 14 | public partial class App : Application 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Level 2/02_Win32/Wpf/MainWindow.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 |