├── .vs ├── ProjectSettings.json ├── slnx.sqlite └── VSWorkspaceState.json ├── UnderstandingAsync ├── obj │ ├── Debug │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ ├── MainWindow.baml │ │ ├── UnderstandingAsync.g.resources │ │ ├── UnderstandingAsync.Properties.Resources.resources │ │ ├── App.g.cs │ │ ├── App.g.i.cs │ │ ├── UnderstandingAsync.csproj.FileListAbsolute.txt │ │ ├── MainWindow.g.cs │ │ └── MainWindow.g.i.cs │ └── Release │ │ ├── MainWindow.baml │ │ ├── App.g.cs │ │ └── MainWindow.g.cs ├── App.config ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── bin │ └── Debug │ │ ├── UnderstandingAsync.exe.config │ │ ├── UnderstandingAsync.vshost.exe.config │ │ └── UnderstandingAsync.vshost.exe.manifest ├── App.xaml.cs ├── App.xaml ├── TaskExamples.cs ├── MainWindow.xaml ├── MainWindow.xaml.cs └── UnderstandingAsync.csproj └── UnderstandingAsync.sln /.vs/ProjectSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "CurrentProjectSetting": null 3 | } -------------------------------------------------------------------------------- /UnderstandingAsync/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /UnderstandingAsync/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /UnderstandingAsync/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.vs/slnx.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MichaelPuckett2/AsyncAwait-C-Examples/HEAD/.vs/slnx.sqlite -------------------------------------------------------------------------------- /UnderstandingAsync/obj/Debug/MainWindow.baml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MichaelPuckett2/AsyncAwait-C-Examples/HEAD/UnderstandingAsync/obj/Debug/MainWindow.baml -------------------------------------------------------------------------------- /UnderstandingAsync/obj/Release/MainWindow.baml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MichaelPuckett2/AsyncAwait-C-Examples/HEAD/UnderstandingAsync/obj/Release/MainWindow.baml -------------------------------------------------------------------------------- /UnderstandingAsync/obj/Debug/UnderstandingAsync.g.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MichaelPuckett2/AsyncAwait-C-Examples/HEAD/UnderstandingAsync/obj/Debug/UnderstandingAsync.g.resources -------------------------------------------------------------------------------- /.vs/VSWorkspaceState.json: -------------------------------------------------------------------------------- 1 | { 2 | "ExpandedNodes": [ 3 | "", 4 | "\\UnderstandingAsync" 5 | ], 6 | "SelectedNode": "\\UnderstandingAsync.sln", 7 | "PreviewInSolutionExplorer": false 8 | } -------------------------------------------------------------------------------- /UnderstandingAsync/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /UnderstandingAsync/obj/Debug/UnderstandingAsync.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MichaelPuckett2/AsyncAwait-C-Examples/HEAD/UnderstandingAsync/obj/Debug/UnderstandingAsync.Properties.Resources.resources -------------------------------------------------------------------------------- /UnderstandingAsync/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /UnderstandingAsync/bin/Debug/UnderstandingAsync.exe.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /UnderstandingAsync/bin/Debug/UnderstandingAsync.vshost.exe.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /UnderstandingAsync/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | namespace UnderstandingAsync 4 | { 5 | /// 6 | /// Interaction logic for App.xaml 7 | /// 8 | public partial class App : Application 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /UnderstandingAsync/App.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /UnderstandingAsync/bin/Debug/UnderstandingAsync.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /UnderstandingAsync.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.20827.3 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnderstandingAsync", "UnderstandingAsync\UnderstandingAsync.csproj", "{7756A991-FE7D-4B82-AD80-DAEB52821DF2}" 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 | {7756A991-FE7D-4B82-AD80-DAEB52821DF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {7756A991-FE7D-4B82-AD80-DAEB52821DF2}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {7756A991-FE7D-4B82-AD80-DAEB52821DF2}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {7756A991-FE7D-4B82-AD80-DAEB52821DF2}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /UnderstandingAsync/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 UnderstandingAsync.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.0.1.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /UnderstandingAsync/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Resources; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | using System.Windows; 6 | 7 | // General Information about an assembly is controlled through the following 8 | // set of attributes. Change these attribute values to modify the information 9 | // associated with an assembly. 10 | [assembly: AssemblyTitle("UnderstandingAsync")] 11 | [assembly: AssemblyDescription("")] 12 | [assembly: AssemblyConfiguration("")] 13 | [assembly: AssemblyCompany("")] 14 | [assembly: AssemblyProduct("UnderstandingAsync")] 15 | [assembly: AssemblyCopyright("Copyright © 2013")] 16 | [assembly: AssemblyTrademark("")] 17 | [assembly: AssemblyCulture("")] 18 | 19 | // Setting ComVisible to false makes the types in this assembly not visible 20 | // to COM components. If you need to access a type in this assembly from 21 | // COM, set the ComVisible attribute to true on that type. 22 | [assembly: ComVisible(false)] 23 | 24 | //In order to begin building localizable applications, set 25 | //CultureYouAreCodingWith in your .csproj file 26 | //inside a . For example, if you are using US english 27 | //in your source files, set the to en-US. Then uncomment 28 | //the NeutralResourceLanguage attribute below. Update the "en-US" in 29 | //the line below to match the UICulture setting in the project file. 30 | 31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] 32 | 33 | 34 | [assembly: ThemeInfo( 35 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 36 | //(used if a resource is not found in the page, 37 | // or application resource dictionaries) 38 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 39 | //(used if a resource is not found in the page, 40 | // app, or any theme specific resource dictionaries) 41 | )] 42 | 43 | 44 | // Version information for an assembly consists of the following four values: 45 | // 46 | // Major Version 47 | // Minor Version 48 | // Build Number 49 | // Revision 50 | // 51 | // You can specify all the values or you can default the Build and Revision Numbers 52 | // by using the '*' as shown below: 53 | // [assembly: AssemblyVersion("1.0.*")] 54 | [assembly: AssemblyVersion("1.0.0.0")] 55 | [assembly: AssemblyFileVersion("1.0.0.0")] 56 | -------------------------------------------------------------------------------- /UnderstandingAsync/obj/Debug/App.g.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "9C21C8D45D71F980A43A7CE5A776DE81" 2 | //------------------------------------------------------------------------------ 3 | // 4 | // This code was generated by a tool. 5 | // Runtime Version:4.0.30319.42000 6 | // 7 | // Changes to this file may cause incorrect behavior and will be lost if 8 | // the code is regenerated. 9 | // 10 | //------------------------------------------------------------------------------ 11 | 12 | using System; 13 | using System.Diagnostics; 14 | using System.Windows; 15 | using System.Windows.Automation; 16 | using System.Windows.Controls; 17 | using System.Windows.Controls.Primitives; 18 | using System.Windows.Data; 19 | using System.Windows.Documents; 20 | using System.Windows.Ink; 21 | using System.Windows.Input; 22 | using System.Windows.Markup; 23 | using System.Windows.Media; 24 | using System.Windows.Media.Animation; 25 | using System.Windows.Media.Effects; 26 | using System.Windows.Media.Imaging; 27 | using System.Windows.Media.Media3D; 28 | using System.Windows.Media.TextFormatting; 29 | using System.Windows.Navigation; 30 | using System.Windows.Shapes; 31 | using System.Windows.Shell; 32 | 33 | 34 | namespace UnderstandingAsync { 35 | 36 | 37 | /// 38 | /// App 39 | /// 40 | public partial class App : System.Windows.Application { 41 | 42 | /// 43 | /// InitializeComponent 44 | /// 45 | [System.Diagnostics.DebuggerNonUserCodeAttribute()] 46 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] 47 | public void InitializeComponent() { 48 | 49 | #line 4 "..\..\App.xaml" 50 | this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); 51 | 52 | #line default 53 | #line hidden 54 | } 55 | 56 | /// 57 | /// Application Entry Point. 58 | /// 59 | [System.STAThreadAttribute()] 60 | [System.Diagnostics.DebuggerNonUserCodeAttribute()] 61 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] 62 | public static void Main() { 63 | UnderstandingAsync.App app = new UnderstandingAsync.App(); 64 | app.InitializeComponent(); 65 | app.Run(); 66 | } 67 | } 68 | } 69 | 70 | -------------------------------------------------------------------------------- /UnderstandingAsync/obj/Debug/App.g.i.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "9C21C8D45D71F980A43A7CE5A776DE81" 2 | //------------------------------------------------------------------------------ 3 | // 4 | // This code was generated by a tool. 5 | // Runtime Version:4.0.30319.42000 6 | // 7 | // Changes to this file may cause incorrect behavior and will be lost if 8 | // the code is regenerated. 9 | // 10 | //------------------------------------------------------------------------------ 11 | 12 | using System; 13 | using System.Diagnostics; 14 | using System.Windows; 15 | using System.Windows.Automation; 16 | using System.Windows.Controls; 17 | using System.Windows.Controls.Primitives; 18 | using System.Windows.Data; 19 | using System.Windows.Documents; 20 | using System.Windows.Ink; 21 | using System.Windows.Input; 22 | using System.Windows.Markup; 23 | using System.Windows.Media; 24 | using System.Windows.Media.Animation; 25 | using System.Windows.Media.Effects; 26 | using System.Windows.Media.Imaging; 27 | using System.Windows.Media.Media3D; 28 | using System.Windows.Media.TextFormatting; 29 | using System.Windows.Navigation; 30 | using System.Windows.Shapes; 31 | using System.Windows.Shell; 32 | 33 | 34 | namespace UnderstandingAsync { 35 | 36 | 37 | /// 38 | /// App 39 | /// 40 | public partial class App : System.Windows.Application { 41 | 42 | /// 43 | /// InitializeComponent 44 | /// 45 | [System.Diagnostics.DebuggerNonUserCodeAttribute()] 46 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] 47 | public void InitializeComponent() { 48 | 49 | #line 4 "..\..\App.xaml" 50 | this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); 51 | 52 | #line default 53 | #line hidden 54 | } 55 | 56 | /// 57 | /// Application Entry Point. 58 | /// 59 | [System.STAThreadAttribute()] 60 | [System.Diagnostics.DebuggerNonUserCodeAttribute()] 61 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] 62 | public static void Main() { 63 | UnderstandingAsync.App app = new UnderstandingAsync.App(); 64 | app.InitializeComponent(); 65 | app.Run(); 66 | } 67 | } 68 | } 69 | 70 | -------------------------------------------------------------------------------- /UnderstandingAsync/obj/Release/App.g.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "9C21C8D45D71F980A43A7CE5A776DE81" 2 | //------------------------------------------------------------------------------ 3 | // 4 | // This code was generated by a tool. 5 | // Runtime Version:4.0.30319.42000 6 | // 7 | // Changes to this file may cause incorrect behavior and will be lost if 8 | // the code is regenerated. 9 | // 10 | //------------------------------------------------------------------------------ 11 | 12 | using System; 13 | using System.Diagnostics; 14 | using System.Windows; 15 | using System.Windows.Automation; 16 | using System.Windows.Controls; 17 | using System.Windows.Controls.Primitives; 18 | using System.Windows.Data; 19 | using System.Windows.Documents; 20 | using System.Windows.Ink; 21 | using System.Windows.Input; 22 | using System.Windows.Markup; 23 | using System.Windows.Media; 24 | using System.Windows.Media.Animation; 25 | using System.Windows.Media.Effects; 26 | using System.Windows.Media.Imaging; 27 | using System.Windows.Media.Media3D; 28 | using System.Windows.Media.TextFormatting; 29 | using System.Windows.Navigation; 30 | using System.Windows.Shapes; 31 | using System.Windows.Shell; 32 | 33 | 34 | namespace UnderstandingAsync { 35 | 36 | 37 | /// 38 | /// App 39 | /// 40 | public partial class App : System.Windows.Application { 41 | 42 | /// 43 | /// InitializeComponent 44 | /// 45 | [System.Diagnostics.DebuggerNonUserCodeAttribute()] 46 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] 47 | public void InitializeComponent() { 48 | 49 | #line 4 "..\..\App.xaml" 50 | this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); 51 | 52 | #line default 53 | #line hidden 54 | } 55 | 56 | /// 57 | /// Application Entry Point. 58 | /// 59 | [System.STAThreadAttribute()] 60 | [System.Diagnostics.DebuggerNonUserCodeAttribute()] 61 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] 62 | public static void Main() { 63 | UnderstandingAsync.App app = new UnderstandingAsync.App(); 64 | app.InitializeComponent(); 65 | app.Run(); 66 | } 67 | } 68 | } 69 | 70 | -------------------------------------------------------------------------------- /UnderstandingAsync/TaskExamples.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | 4 | namespace UnderstandingAsync 5 | { 6 | static public class TaskExamples 7 | { 8 | static int TaskCounter = 0; 9 | public const int DefaultSleepTime = 3000; 10 | static int sleepTime = DefaultSleepTime; 11 | 12 | static public int SleepTime 13 | { 14 | get => sleepTime; set { sleepTime = value; } 15 | } 16 | 17 | //Task 18 | //This continues on the main thread. 19 | static public Task StringTask() => SubTaskForTask(nameof(StringTask)); //Blocking 20 | 21 | //async Task//This continues on the main thread. 22 | static async public Task AsyncStringTask() => await SubTaskForTask(nameof(AsyncStringTask)); //Blocking 23 | 24 | //Task.Run 25 | //This method actually runs on a background thread where the others are continuations of the main thread. 26 | static public Task StringTaskDotRunAsync() => Task.Run(() => SubTaskForTask(nameof(StringTaskDotRunAsync))); //Non-Blocking 27 | 28 | /* 29 | * This task is broken on purpose. 30 | * Notice that when you call the task it will continue processing on the main thread until for the 1st second. 31 | * Then it will lock the thread for another second. 32 | * This is because the task is running on the same thread that it is called on regardless of async await. 33 | * The only way to get this task to operate without blocking the calling thread (most like the UI / Main thread) is to use Task.Run 34 | * There are 3 wrapper methods above that call this task in various ways to illustrate the difference. 35 | */ 36 | static private async Task SubTaskForTask(string taskName) 37 | { 38 | Thread.Sleep(sleepTime / 3); //UI thread 39 | await Task.Delay(sleepTime / 3); //New thread 40 | Thread.Sleep(sleepTime / 3); //UI thread 41 | 42 | return $"Task {++TaskCounter}: {taskName}"; 43 | } 44 | 45 | 46 | //This method below isn't used. However; the one above should be replaced with the one below for a proper awaitable task. 47 | //static private Task SubTaskForTaskAsync(string taskName) 48 | //{ 49 | // return Task.Run(async () => 50 | // { 51 | // Thread.Sleep(sleepTime / 3); //UI thread 52 | // await Task.Delay(sleepTime / 3); //New thread 53 | // Thread.Sleep(sleepTime / 3); //UI thread 54 | 55 | // return $"Task {++TaskCounter}: {taskName}"; 56 | // }); 57 | //} 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /UnderstandingAsync/Properties/Resources.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 UnderstandingAsync.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Returns the cached ResourceManager instance used by this class. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("UnderstandingAsync.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Overrides the current thread's CurrentUICulture property for all 51 | /// resource lookups using this strongly typed resource class. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /UnderstandingAsync/obj/Debug/UnderstandingAsync.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\Michael Puckett\AppData\Local\Temporary Projects\UnderstandingAsync\bin\Debug\UnderstandingAsync.exe.config 2 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\bin\Debug\UnderstandingAsync.exe.config 3 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\obj\Debug\UnderstandingAsync.csprojResolveAssemblyReference.cache 4 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\obj\Debug\MainWindow.baml 5 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\obj\Debug\MainWindow.g.cs 6 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\obj\Debug\App.g.cs 7 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\obj\Debug\UnderstandingAsync_MarkupCompile.cache 8 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\obj\Debug\UnderstandingAsync.g.resources 9 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\obj\Debug\UnderstandingAsync.Properties.Resources.resources 10 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\obj\Debug\UnderstandingAsync.csproj.GenerateResource.Cache 11 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\bin\Debug\UnderstandingAsync.exe 12 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\bin\Debug\UnderstandingAsync.pdb 13 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\obj\Debug\UnderstandingAsync.exe 14 | C:\Users\Michael Puckett\Documents\Visual Studio 2013\Projects\UnderstandingAsync\UnderstandingAsync\obj\Debug\UnderstandingAsync.pdb 15 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\bin\Debug\UnderstandingAsync.exe.config 16 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\bin\Debug\UnderstandingAsync.exe 17 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\bin\Debug\UnderstandingAsync.pdb 18 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\obj\Debug\UnderstandingAsync.csprojResolveAssemblyReference.cache 19 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\obj\Debug\MainWindow.baml 20 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\obj\Debug\MainWindow.g.cs 21 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\obj\Debug\App.g.cs 22 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\obj\Debug\UnderstandingAsync_MarkupCompile.cache 23 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\obj\Debug\UnderstandingAsync.g.resources 24 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\obj\Debug\UnderstandingAsync.Properties.Resources.resources 25 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\obj\Debug\UnderstandingAsync.csproj.GenerateResource.Cache 26 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\obj\Debug\UnderstandingAsync.exe 27 | C:\Users\micha\Repos\AsyncAwait-C-Examples\UnderstandingAsync\obj\Debug\UnderstandingAsync.pdb 28 | -------------------------------------------------------------------------------- /UnderstandingAsync/MainWindow.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |