diff --git a/ConsoleAppTasks/ConsoleAppTasks.sln b/ConsoleAppTasks/ConsoleAppTasks.sln new file mode 100644 index 0000000..8517324 --- /dev/null +++ b/ConsoleAppTasks/ConsoleAppTasks.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.28803.352 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleAppTasks", "ConsoleAppTasks\ConsoleAppTasks.csproj", "{49305429-ED2B-44E0-8810-6D797A7E0D77}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {49305429-ED2B-44E0-8810-6D797A7E0D77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {49305429-ED2B-44E0-8810-6D797A7E0D77}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49305429-ED2B-44E0-8810-6D797A7E0D77}.Release|Any CPU.ActiveCfg = Release|Any CPU + {49305429-ED2B-44E0-8810-6D797A7E0D77}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {3E425157-B83C-439C-A77F-6D4E5F10DFF7} + EndGlobalSection +EndGlobal diff --git a/ConsoleAppTasks/ConsoleAppTasks/App.config b/ConsoleAppTasks/ConsoleAppTasks/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/ConsoleAppTasks/ConsoleAppTasks/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/ConsoleAppTasks/ConsoleAppTasks/ConsoleAppTasks.csproj b/ConsoleAppTasks/ConsoleAppTasks/ConsoleAppTasks.csproj new file mode 100644 index 0000000..d65f954 --- /dev/null +++ b/ConsoleAppTasks/ConsoleAppTasks/ConsoleAppTasks.csproj @@ -0,0 +1,53 @@ + + + + + Debug + AnyCPU + {49305429-ED2B-44E0-8810-6D797A7E0D77} + Exe + ConsoleAppTasks + ConsoleAppTasks + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ConsoleAppTasks/ConsoleAppTasks/Program.cs b/ConsoleAppTasks/ConsoleAppTasks/Program.cs new file mode 100644 index 0000000..e65de2f --- /dev/null +++ b/ConsoleAppTasks/ConsoleAppTasks/Program.cs @@ -0,0 +1,46 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +namespace ConsoleAppTasks +{ + class Program + { + static void Main(string[] args) + { + + var t = new Task(DoIt); + + t.Start(); + + for (int i = 0; i < 999; i++) + { + Console.WriteLine("-"); + Thread.Sleep(200); + } + + + + Console.ReadLine(); //wait for close + + } + + + private static void DoIt() + { + Console.WriteLine("."); + + for (int i = 0; i < 999; i++) + { + Console.WriteLine("+"); + Thread.Sleep(500); + + } + + } + + } +} diff --git a/ConsoleAppTasks/ConsoleAppTasks/Properties/AssemblyInfo.cs b/ConsoleAppTasks/ConsoleAppTasks/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..3dee8e4 --- /dev/null +++ b/ConsoleAppTasks/ConsoleAppTasks/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("ConsoleAppTasks")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("ConsoleAppTasks")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("49305429-ed2b-44e0-8810-6d797a7e0d77")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/WindowsFormsApp01/.vs/WindowsFormsApp01/v16/.suo b/WindowsFormsApp01/.vs/WindowsFormsApp01/v16/.suo index 99031cc..07797b4 100644 Binary files a/WindowsFormsApp01/.vs/WindowsFormsApp01/v16/.suo and b/WindowsFormsApp01/.vs/WindowsFormsApp01/v16/.suo differ diff --git a/WindowsFormsApp01/.vs/WindowsFormsApp01/v16/Server/sqlite3/storage.ide b/WindowsFormsApp01/.vs/WindowsFormsApp01/v16/Server/sqlite3/storage.ide index c0e2c5b..9f76601 100644 Binary files a/WindowsFormsApp01/.vs/WindowsFormsApp01/v16/Server/sqlite3/storage.ide and b/WindowsFormsApp01/.vs/WindowsFormsApp01/v16/Server/sqlite3/storage.ide differ diff --git a/WindowsFormsApp01/ClassLibrary01/obj/Debug/ClassLibrary01.csprojAssemblyReference.cache b/WindowsFormsApp01/ClassLibrary01/obj/Debug/ClassLibrary01.csprojAssemblyReference.cache index f42cdc6..3a65bd0 100644 Binary files a/WindowsFormsApp01/ClassLibrary01/obj/Debug/ClassLibrary01.csprojAssemblyReference.cache and b/WindowsFormsApp01/ClassLibrary01/obj/Debug/ClassLibrary01.csprojAssemblyReference.cache differ diff --git a/WindowsFormsApp01/WindowsFormsApp01/obj/Debug/WindowsFormsApp01.csprojAssemblyReference.cache b/WindowsFormsApp01/WindowsFormsApp01/obj/Debug/WindowsFormsApp01.csprojAssemblyReference.cache index c2a6ab9..90a61c2 100644 Binary files a/WindowsFormsApp01/WindowsFormsApp01/obj/Debug/WindowsFormsApp01.csprojAssemblyReference.cache and b/WindowsFormsApp01/WindowsFormsApp01/obj/Debug/WindowsFormsApp01.csprojAssemblyReference.cache differ