├── L01.MutableStringBuilder ├── L01.Intro.csproj └── Program.cs ├── L02.HowItWorks ├── L02.HowItWorks.csproj └── Program.cs ├── L04.Methods ├── L04.Methods.csproj └── Program.cs ├── L03.Instantiation ├── L03.Instantiation.csproj └── Program.cs ├── Metigator45.sln └── .gitignore /L01.MutableStringBuilder/L01.Intro.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | net6.0 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /L02.HowItWorks/L02.HowItWorks.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | net6.0 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /L04.Methods/L04.Methods.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | net6.0 6 | enable 7 | enable 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /L03.Instantiation/L03.Instantiation.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | net6.0 6 | enable 7 | enable 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /L01.MutableStringBuilder/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Diagnostics; 3 | using System.Text; 4 | using System.Xml.Linq; 5 | 6 | namespace Metigator45.L01 7 | { 8 | internal class Program 9 | { 10 | public static void Main(string[] args) 11 | { 12 | Console.ReadKey(); 13 | } 14 | 15 | static string GenerateWithString() 16 | { 17 | string str = null; 18 | 19 | str += String.Concat(new char[] { 'E', 'T', 'I' }); // ETI 20 | 21 | str += String.Format("GAT{0}{1}{2}", 'O', 'P', 'S'); // GATOPS 22 | 23 | str = "M" + str; // METIGATOPS 24 | 25 | str = str.Replace('P', 'R'); //METIGATORS 26 | 27 | str = str.Remove(str.Length - 1); // METIGATOR 28 | 29 | return str; 30 | } 31 | static string GenerateWithStringBuilder() 32 | { 33 | StringBuilder sb = new StringBuilder(); 34 | 35 | sb.Append(new char[] { 'E', 'T', 'I' }); // ETI 36 | 37 | sb.AppendFormat("GAT{0}{1}{2}", 'O', 'P', 'S'); // ETIGATOPS 38 | 39 | sb.Insert(0, "M"); // METIGATOPS 40 | 41 | sb.Replace('P', 'R'); //METIGATORS 42 | 43 | sb.Remove(sb.Length - 1, 1); // METIGATOR 44 | 45 | return sb.ToString(); 46 | } 47 | } 48 | } 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /Metigator45.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.3.32804.467 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "L01.Intro", "L01.MutableStringBuilder\L01.Intro.csproj", "{500D363F-752B-4322-A78F-8EF9796CCAEC}" 7 | EndProject 8 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "L02.HowItWorks", "L02.HowItWorks\L02.HowItWorks.csproj", "{8DC1D97D-C851-4A98-9DDC-0B419E798D69}" 9 | EndProject 10 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "L04.Methods", "L04.Methods\L04.Methods.csproj", "{58CBD980-A2AE-438B-AE90-0A7BC74FEE5B}" 11 | EndProject 12 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "L03.Instantiation", "L03.Instantiation\L03.Instantiation.csproj", "{378C147D-3B01-4856-806F-28047BAE32F4}" 13 | EndProject 14 | Global 15 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 16 | Debug|Any CPU = Debug|Any CPU 17 | Release|Any CPU = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 20 | {500D363F-752B-4322-A78F-8EF9796CCAEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 21 | {500D363F-752B-4322-A78F-8EF9796CCAEC}.Debug|Any CPU.Build.0 = Debug|Any CPU 22 | {500D363F-752B-4322-A78F-8EF9796CCAEC}.Release|Any CPU.ActiveCfg = Release|Any CPU 23 | {500D363F-752B-4322-A78F-8EF9796CCAEC}.Release|Any CPU.Build.0 = Release|Any CPU 24 | {8DC1D97D-C851-4A98-9DDC-0B419E798D69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 25 | {8DC1D97D-C851-4A98-9DDC-0B419E798D69}.Debug|Any CPU.Build.0 = Debug|Any CPU 26 | {8DC1D97D-C851-4A98-9DDC-0B419E798D69}.Release|Any CPU.ActiveCfg = Release|Any CPU 27 | {8DC1D97D-C851-4A98-9DDC-0B419E798D69}.Release|Any CPU.Build.0 = Release|Any CPU 28 | {58CBD980-A2AE-438B-AE90-0A7BC74FEE5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 29 | {58CBD980-A2AE-438B-AE90-0A7BC74FEE5B}.Debug|Any CPU.Build.0 = Debug|Any CPU 30 | {58CBD980-A2AE-438B-AE90-0A7BC74FEE5B}.Release|Any CPU.ActiveCfg = Release|Any CPU 31 | {58CBD980-A2AE-438B-AE90-0A7BC74FEE5B}.Release|Any CPU.Build.0 = Release|Any CPU 32 | {378C147D-3B01-4856-806F-28047BAE32F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 33 | {378C147D-3B01-4856-806F-28047BAE32F4}.Debug|Any CPU.Build.0 = Debug|Any CPU 34 | {378C147D-3B01-4856-806F-28047BAE32F4}.Release|Any CPU.ActiveCfg = Release|Any CPU 35 | {378C147D-3B01-4856-806F-28047BAE32F4}.Release|Any CPU.Build.0 = Release|Any CPU 36 | EndGlobalSection 37 | GlobalSection(SolutionProperties) = preSolution 38 | HideSolutionNode = FALSE 39 | EndGlobalSection 40 | GlobalSection(ExtensibilityGlobals) = postSolution 41 | SolutionGuid = {E9EFC3D1-5004-410F-B450-CB06A76E607B} 42 | EndGlobalSection 43 | EndGlobal 44 | -------------------------------------------------------------------------------- /L02.HowItWorks/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Text; 3 | namespace Metigator45.L02 4 | { 5 | internal class Program 6 | { 7 | public static void Main(string[] args) 8 | { 9 | // RunArrayOfCharacterConcept(); 10 | // RunStringBuilderProperties(); 11 | RunStringBuilderHowItWorks(); 12 | 13 | Console.ReadKey(); 14 | } 15 | 16 | static void RunArrayOfCharacterConcept() 17 | { 18 | // char[] characters = new char[9]; 19 | char[] characters; 20 | // Console.WriteLine(characters.Length); // use of unassigned error 21 | 22 | characters = new char[9]; 23 | 24 | characters[0] = 'M'; 25 | characters[1] = 'e'; 26 | characters[2] = 't'; 27 | characters[3] = 'i'; 28 | characters[4] = 'g'; 29 | characters[5] = 'a'; 30 | characters[6] = 't'; 31 | characters[7] = 'o'; 32 | characters[8] = 'r'; 33 | 34 | 35 | 36 | // or 37 | characters = new char[9] { 'M', 'e', 't', 'i', 'g', 'a', 't', 'o', 'r' }; 38 | 39 | // or 40 | characters = new char[] { 'M', 'e', 't', 'i', 'g', 'a', 't', 'o', 'r' }; 41 | 42 | characters[0] = 'm'; // mutate 43 | 44 | Console.WriteLine(characters); 45 | } 46 | 47 | static void RunStringBuilderProperties() 48 | { 49 | 50 | var sb = new StringBuilder("Metigator"); 51 | 52 | Console.WriteLine(sb.ToString()); // Metigator 53 | 54 | //the characters the object currently contains 55 | Console.WriteLine($"Length: {sb.Length}"); // 9 56 | 57 | // the number of characters that the object can contain. 58 | Console.WriteLine($"Capacity: {sb.Capacity}"); // 16 (default) 59 | 60 | // the maximum capacity, if it's reached, OutOfMemoryException 61 | Console.WriteLine($"MaxCapacity: {sb.MaxCapacity}"); // 2,147,483,647 (default) 62 | 63 | Console.WriteLine($"First Letter: {sb[0]}"); // M Index out of range exception 64 | 65 | } 66 | 67 | static void RunStringBuilderHowItWorks() 68 | { 69 | 70 | var sb = new StringBuilder(); 71 | // sb is a StringBuilder object 72 | // string value is empty, length 0, capacity 16, maxcapacity is 2,147,483,647 73 | 74 | sb.Append("I Love Metigator"); // add 16 character 75 | 76 | Console.WriteLine($"Length: {sb.Length}"); // 16 77 | Console.WriteLine($"Capacity: {sb.Capacity}"); // 16 (default) 78 | Console.WriteLine($"MaxCapacity: {sb.MaxCapacity}"); // 2,147,483,647 (default) 79 | 80 | sb.Append("Youtube Channel"); // add 15 character 81 | 82 | Console.WriteLine($"Length: {sb.Length}"); // 31 83 | Console.WriteLine($"Capacity: {sb.Capacity}"); // 32 (size doubled) 84 | Console.WriteLine($"MaxCapacity: {sb.MaxCapacity}"); // 2,147,483,647 (default) 85 | } 86 | 87 | } 88 | } 89 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /L03.Instantiation/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Text; 3 | namespace Metigator45.L03 4 | { 5 | internal class Program 6 | { 7 | public static void Main(string[] args) 8 | { 9 | // RunConstructorOverLoad1(); 10 | // RunConstructorOverLoad2(); 11 | // RunConstructorOverLoad3(); 12 | // RunConstructorOverLoad4(); 13 | // RunConstructorOverLoad5(); 14 | RunConstructorOverLoad6(); 15 | 16 | Console.ReadKey(); 17 | } 18 | 19 | static void RunConstructorOverLoad1() 20 | { 21 | // StringBuilder (); 22 | var sb = new StringBuilder(); 23 | // string value in string.Empty 24 | // capacity is set to the implementation-specific default 25 | 26 | 27 | sb.Append("Metigator"); 28 | 29 | Console.WriteLine(sb.ToString()); 30 | Console.WriteLine($"Length: {sb.Length}"); 31 | Console.WriteLine($"Capacity: {sb.Capacity}"); 32 | Console.WriteLine($"MaxCapacity: {sb.MaxCapacity}"); 33 | } 34 | static void RunConstructorOverLoad2() 35 | { 36 | // StringBuilder (int capacity); 37 | // capacity is less than zero ArgumentOutOfRangeException 38 | // capacity is zero = default will be taken 39 | // capacity is extended to the default capacity if it fits 40 | var sb = new StringBuilder(8); 41 | 42 | sb.Append("Metigator"); 43 | 44 | Console.WriteLine(sb.ToString()); 45 | Console.WriteLine($"Length: {sb.Length}"); // 9 46 | Console.WriteLine($"Capacity: {sb.Capacity}"); // 16 47 | Console.WriteLine($"MaxCapacity: {sb.MaxCapacity}"); //21.. 48 | } 49 | static void RunConstructorOverLoad3() 50 | { 51 | // StringBuilder (string? value); 52 | // If value is null, the new StringBuilder will contain the empty string 53 | var sb = new StringBuilder("Metigator"); 54 | 55 | Console.WriteLine(sb); 56 | Console.WriteLine($"Length: {sb.Length}"); 57 | Console.WriteLine($"Capacity: {sb.Capacity}"); 58 | Console.WriteLine($"MaxCapacity: {sb.MaxCapacity}"); 59 | } 60 | static void RunConstructorOverLoad4() 61 | { 62 | // StringBuilder (string? value, int capacity); 63 | // if capacity less than zero => ArgumentOutOfRangeException 64 | // additional allocation if the number of chars stored exceed capacity 65 | 66 | var sb = new StringBuilder("Metigator", 4); 67 | 68 | Console.WriteLine(sb); 69 | Console.WriteLine($"Length: {sb.Length}"); // 9 70 | Console.WriteLine($"Capacity: {sb.Capacity}"); 71 | Console.WriteLine($"MaxCapacity: {sb.MaxCapacity}"); 72 | } 73 | static void RunConstructorOverLoad5() 74 | { 75 | // StringBuilder (int capacity, int maxCapacity); 76 | // if capacity less than zero => ArgumentOutOfRangeException 77 | // if maxcapacity less than one => ArgumentOutOfRangeException 78 | // if capacity is zero implementation default capacity is used 79 | // if capacity exeeds max capacity ArgumentOutOfRangeException 80 | 81 | var sb = new StringBuilder(0, 9); 82 | sb.Append("Metigator"); 83 | 84 | Console.WriteLine(sb); 85 | Console.WriteLine($"Length: {sb.Length}"); // 9 86 | Console.WriteLine($"Capacity: {sb.Capacity}"); // 9 87 | Console.WriteLine($"MaxCapacity: {sb.MaxCapacity}"); //9 88 | } 89 | static void RunConstructorOverLoad6() 90 | { 91 | // StringBuilder (string? value, int startIndex, int length, int capacity); 92 | // If capacity is zero, the implementation-specific default capacity 93 | // if capacity less than zero => ArgumentOutOfRangeException 94 | // additional allocation if the number of chars stored exceed capacity 95 | // startIndex+length is not a position within value.=> ArgumentOutOfRangeException 96 | 97 | // 01234567 98 | var sb = new StringBuilder("I Love Metigator", 7, 9, 9); 99 | 100 | 101 | Console.WriteLine(sb); 102 | Console.WriteLine($"Length: {sb.Length}"); // 9 103 | Console.WriteLine($"Capacity: {sb.Capacity}"); // 9 104 | Console.WriteLine($"MaxCapacity: {sb.MaxCapacity}"); // 2, 147,0000 105 | } 106 | } 107 | } -------------------------------------------------------------------------------- /L04.Methods/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Reflection.Metadata; 4 | using System.Text; 5 | using System.Threading.Channels; 6 | 7 | namespace Metigator45.L04 8 | { 9 | internal class Program 10 | { 11 | public static void Main(string[] args) 12 | { 13 | // RunAppend(); 14 | // RunAppendJoin(); 15 | // RunAppendFormat(); 16 | // RunAppendLine(); 17 | // RunInsert(); 18 | // RunReplace(); 19 | // RunRemove(); 20 | // RunClear(); 21 | // RunGetChuncks(); 22 | // RunInsureCapacity(); 23 | // RunCopyTo(); 24 | RunCharAtIndex(); 25 | Console.ReadKey(); 26 | } 27 | 28 | 29 | 30 | private static void RunAppend() 31 | { 32 | var sb = new StringBuilder(); 33 | // Append Return StringBuilder, useful method chaining 34 | sb.Append("ƒ(x)").Append("=").Append("Σ").Append("x²").Append("±").Append("α"); 35 | 36 | Console.WriteLine(sb.ToString()); 37 | } 38 | 39 | private static void RunAppendJoin() 40 | { 41 | string[] words = { "I", "Love", "Metigator" }; 42 | var sb = new StringBuilder(); 43 | sb.AppendJoin('°', words); 44 | Console.WriteLine(sb.ToString()); 45 | } 46 | 47 | private static void RunAppendFormat() 48 | { 49 | string customer = "Issam A"; 50 | DateTime shippingDate = DateTime.Now; // yyyy-MM-dd hh:mm 51 | DateTime expectedDelivery = shippingDate.AddDays(7); // yyyy-MM-dd hh:mm 52 | decimal shippingCost = 29.99m; 53 | 54 | var sb = new StringBuilder(); 55 | 56 | sb.AppendFormat( 57 | "\nDear {0}.," + 58 | "\n\nAt {1:t} on {1:D}, the order is on its way to you" + 59 | "\nIt's expected to be delivered at {2:t} on {2:D}, the order is on its way to you" + 60 | "\nShipping cost {3:c}." + 61 | "\n\t\t\tThanks for shopping with us!", 62 | 63 | customer, shippingDate, expectedDelivery, shippingCost); 64 | // 0 1 2 3 65 | Console.WriteLine(sb.ToString()); 66 | } 67 | 68 | private static void RunAppendLine() 69 | { 70 | var sb = new StringBuilder(); 71 | 72 | sb.AppendLine("C# is a modern, object-oriented, type-safe programming language"); 73 | sb.AppendLine("C# enables developers to build secure and robust applications"); 74 | sb.AppendLine("C# has its roots in the C family of languages "); 75 | Console.WriteLine(sb.ToString()); 76 | } 77 | 78 | private static void RunInsert() 79 | { 80 | var sb = new StringBuilder("C# is a modern, object-, type-safe programming language"); 81 | 82 | sb.Insert(23, "oriented"); 83 | 84 | Console.WriteLine(sb.ToString()); 85 | } 86 | 87 | private static void RunReplace() 88 | { 89 | var sb = new StringBuilder(); 90 | 91 | // Append Return StringBuilder, useful method chaining 92 | sb.Append("Fetigator"); 93 | 94 | Console.WriteLine("before replace.."); 95 | Console.WriteLine(sb.ToString()); 96 | 97 | sb.Replace("Fetigator", "Metigator"); 98 | 99 | Console.WriteLine("after replace.."); 100 | Console.WriteLine(sb.ToString()); 101 | } 102 | 103 | private static void RunRemove() 104 | { 105 | var sb = new StringBuilder(); 106 | 107 | // Append Return StringBuilder, useful method chaining 108 | sb.Append("Metigator xyx"); 109 | 110 | Console.WriteLine("before remove.."); 111 | Console.WriteLine(sb.ToString()); 112 | 113 | sb.Remove(9, 4); 114 | 115 | Console.WriteLine("after remove.."); 116 | Console.WriteLine(sb.ToString()); 117 | } 118 | 119 | private static void RunClear() 120 | { 121 | var sb = new StringBuilder(); 122 | 123 | // Append Return StringBuilder, useful method chaining 124 | sb.Append("Metigator"); 125 | 126 | Console.WriteLine("before clear.."); 127 | Console.WriteLine(sb.ToString()); 128 | 129 | sb.Clear(); 130 | 131 | Console.WriteLine("after clear.."); 132 | Console.WriteLine(sb.ToString()); 133 | } 134 | 135 | private static void RunGetChuncks() 136 | { 137 | var sb = new StringBuilder(); 138 | 139 | sb.Append("I Love Metigator"); 140 | 141 | sb.Append("Youtube Channel"); 142 | 143 | var counter = 1; 144 | foreach (var chunk in sb.GetChunks()) 145 | { 146 | Console.WriteLine($"chunck #{counter++}: \"{chunk}\" length: {chunk.Length}"); 147 | } 148 | } 149 | 150 | private static void RunInsureCapacity() 151 | { 152 | 153 | var sb = new StringBuilder(10); 154 | 155 | Console.WriteLine("before sb.EnsureCapacity(12)"); 156 | Console.WriteLine(sb.Capacity); // 10 157 | 158 | Console.WriteLine("after ensuring capacity"); 159 | 160 | // If the current capacity is less than the capacity 161 | // parameter, memory for this instance is reallocated 162 | // to hold at least capacity number of characters; otherwise, 163 | // no memory is changed. 164 | 165 | sb.EnsureCapacity(8); 166 | 167 | Console.WriteLine("after sb.EnsureCapacity(12)"); 168 | Console.WriteLine(sb.Capacity); // 12 169 | 170 | 171 | 172 | } 173 | 174 | private static void RunCopyTo() 175 | { 176 | var sb = new StringBuilder("Metigator"); 177 | char[] characters = new char[sb.Length]; 178 | sb.CopyTo(0, characters, 0, sb.Length) ; 179 | Console.WriteLine(characters); 180 | 181 | } 182 | private static void RunCharAtIndex() 183 | { 184 | var sb = new StringBuilder("Metigator"); 185 | var firstChar = sb[0]; 186 | Console.WriteLine(firstChar); 187 | 188 | } 189 | 190 | } 191 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.rsuser 8 | *.suo 9 | *.user 10 | *.userosscache 11 | *.sln.docstates 12 | 13 | # User-specific files (MonoDevelop/Xamarin Studio) 14 | *.userprefs 15 | 16 | # Mono auto generated files 17 | mono_crash.* 18 | 19 | # Build results 20 | [Dd]ebug/ 21 | [Dd]ebugPublic/ 22 | [Rr]elease/ 23 | [Rr]eleases/ 24 | x64/ 25 | x86/ 26 | [Ww][Ii][Nn]32/ 27 | [Aa][Rr][Mm]/ 28 | [Aa][Rr][Mm]64/ 29 | bld/ 30 | [Bb]in/ 31 | [Oo]bj/ 32 | [Ll]og/ 33 | [Ll]ogs/ 34 | 35 | # Visual Studio 2015/2017 cache/options directory 36 | .vs/ 37 | # Uncomment if you have tasks that create the project's static files in wwwroot 38 | #wwwroot/ 39 | 40 | # Visual Studio 2017 auto generated files 41 | Generated\ Files/ 42 | 43 | # MSTest test Results 44 | [Tt]est[Rr]esult*/ 45 | [Bb]uild[Ll]og.* 46 | 47 | # NUnit 48 | *.VisualState.xml 49 | TestResult.xml 50 | nunit-*.xml 51 | 52 | # Build Results of an ATL Project 53 | [Dd]ebugPS/ 54 | [Rr]eleasePS/ 55 | dlldata.c 56 | 57 | # Benchmark Results 58 | BenchmarkDotNet.Artifacts/ 59 | 60 | # .NET 61 | project.lock.json 62 | project.fragment.lock.json 63 | artifacts/ 64 | 65 | # Tye 66 | .tye/ 67 | 68 | # ASP.NET Scaffolding 69 | ScaffoldingReadMe.txt 70 | 71 | # StyleCop 72 | StyleCopReport.xml 73 | 74 | # Files built by Visual Studio 75 | *_i.c 76 | *_p.c 77 | *_h.h 78 | *.ilk 79 | *.meta 80 | *.obj 81 | *.iobj 82 | *.pch 83 | *.pdb 84 | *.ipdb 85 | *.pgc 86 | *.pgd 87 | *.rsp 88 | *.sbr 89 | *.tlb 90 | *.tli 91 | *.tlh 92 | *.tmp 93 | *.tmp_proj 94 | *_wpftmp.csproj 95 | *.log 96 | *.vspscc 97 | *.vssscc 98 | .builds 99 | *.pidb 100 | *.svclog 101 | *.scc 102 | 103 | # Chutzpah Test files 104 | _Chutzpah* 105 | 106 | # Visual C++ cache files 107 | ipch/ 108 | *.aps 109 | *.ncb 110 | *.opendb 111 | *.opensdf 112 | *.sdf 113 | *.cachefile 114 | *.VC.db 115 | *.VC.VC.opendb 116 | 117 | # Visual Studio profiler 118 | *.psess 119 | *.vsp 120 | *.vspx 121 | *.sap 122 | 123 | # Visual Studio Trace Files 124 | *.e2e 125 | 126 | # TFS 2012 Local Workspace 127 | $tf/ 128 | 129 | # Guidance Automation Toolkit 130 | *.gpState 131 | 132 | # ReSharper is a .NET coding add-in 133 | _ReSharper*/ 134 | *.[Rr]e[Ss]harper 135 | *.DotSettings.user 136 | 137 | # TeamCity is a build add-in 138 | _TeamCity* 139 | 140 | # DotCover is a Code Coverage Tool 141 | *.dotCover 142 | 143 | # AxoCover is a Code Coverage Tool 144 | .axoCover/* 145 | !.axoCover/settings.json 146 | 147 | # Coverlet is a free, cross platform Code Coverage Tool 148 | coverage*.json 149 | coverage*.xml 150 | coverage*.info 151 | 152 | # Visual Studio code coverage results 153 | *.coverage 154 | *.coveragexml 155 | 156 | # NCrunch 157 | _NCrunch_* 158 | .*crunch*.local.xml 159 | nCrunchTemp_* 160 | 161 | # MightyMoose 162 | *.mm.* 163 | AutoTest.Net/ 164 | 165 | # Web workbench (sass) 166 | .sass-cache/ 167 | 168 | # Installshield output folder 169 | [Ee]xpress/ 170 | 171 | # DocProject is a documentation generator add-in 172 | DocProject/buildhelp/ 173 | DocProject/Help/*.HxT 174 | DocProject/Help/*.HxC 175 | DocProject/Help/*.hhc 176 | DocProject/Help/*.hhk 177 | DocProject/Help/*.hhp 178 | DocProject/Help/Html2 179 | DocProject/Help/html 180 | 181 | # Click-Once directory 182 | publish/ 183 | 184 | # Publish Web Output 185 | *.[Pp]ublish.xml 186 | *.azurePubxml 187 | # Note: Comment the next line if you want to checkin your web deploy settings, 188 | # but database connection strings (with potential passwords) will be unencrypted 189 | *.pubxml 190 | *.publishproj 191 | 192 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 193 | # checkin your Azure Web App publish settings, but sensitive information contained 194 | # in these scripts will be unencrypted 195 | PublishScripts/ 196 | 197 | # NuGet Packages 198 | *.nupkg 199 | # NuGet Symbol Packages 200 | *.snupkg 201 | # The packages folder can be ignored because of Package Restore 202 | **/[Pp]ackages/* 203 | # except build/, which is used as an MSBuild target. 204 | !**/[Pp]ackages/build/ 205 | # Uncomment if necessary however generally it will be regenerated when needed 206 | #!**/[Pp]ackages/repositories.config 207 | # NuGet v3's project.json files produces more ignorable files 208 | *.nuget.props 209 | *.nuget.targets 210 | 211 | # Microsoft Azure Build Output 212 | csx/ 213 | *.build.csdef 214 | 215 | # Microsoft Azure Emulator 216 | ecf/ 217 | rcf/ 218 | 219 | # Windows Store app package directories and files 220 | AppPackages/ 221 | BundleArtifacts/ 222 | Package.StoreAssociation.xml 223 | _pkginfo.txt 224 | *.appx 225 | *.appxbundle 226 | *.appxupload 227 | 228 | # Visual Studio cache files 229 | # files ending in .cache can be ignored 230 | *.[Cc]ache 231 | # but keep track of directories ending in .cache 232 | !?*.[Cc]ache/ 233 | 234 | # Others 235 | ClientBin/ 236 | ~$* 237 | *~ 238 | *.dbmdl 239 | *.dbproj.schemaview 240 | *.jfm 241 | *.pfx 242 | *.publishsettings 243 | orleans.codegen.cs 244 | 245 | # Including strong name files can present a security risk 246 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 247 | #*.snk 248 | 249 | # Since there are multiple workflows, uncomment next line to ignore bower_components 250 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 251 | #bower_components/ 252 | 253 | # RIA/Silverlight projects 254 | Generated_Code/ 255 | 256 | # Backup & report files from converting an old project file 257 | # to a newer Visual Studio version. Backup files are not needed, 258 | # because we have git ;-) 259 | _UpgradeReport_Files/ 260 | Backup*/ 261 | UpgradeLog*.XML 262 | UpgradeLog*.htm 263 | ServiceFabricBackup/ 264 | *.rptproj.bak 265 | 266 | # SQL Server files 267 | *.mdf 268 | *.ldf 269 | *.ndf 270 | 271 | # Business Intelligence projects 272 | *.rdl.data 273 | *.bim.layout 274 | *.bim_*.settings 275 | *.rptproj.rsuser 276 | *- [Bb]ackup.rdl 277 | *- [Bb]ackup ([0-9]).rdl 278 | *- [Bb]ackup ([0-9][0-9]).rdl 279 | 280 | # Microsoft Fakes 281 | FakesAssemblies/ 282 | 283 | # GhostDoc plugin setting file 284 | *.GhostDoc.xml 285 | 286 | # Node.js Tools for Visual Studio 287 | .ntvs_analysis.dat 288 | node_modules/ 289 | 290 | # Visual Studio 6 build log 291 | *.plg 292 | 293 | # Visual Studio 6 workspace options file 294 | *.opt 295 | 296 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 297 | *.vbw 298 | 299 | # Visual Studio LightSwitch build output 300 | **/*.HTMLClient/GeneratedArtifacts 301 | **/*.DesktopClient/GeneratedArtifacts 302 | **/*.DesktopClient/ModelManifest.xml 303 | **/*.Server/GeneratedArtifacts 304 | **/*.Server/ModelManifest.xml 305 | _Pvt_Extensions 306 | 307 | # Paket dependency manager 308 | .paket/paket.exe 309 | paket-files/ 310 | 311 | # FAKE - F# Make 312 | .fake/ 313 | 314 | # CodeRush personal settings 315 | .cr/personal 316 | 317 | # Python Tools for Visual Studio (PTVS) 318 | __pycache__/ 319 | *.pyc 320 | 321 | # Cake - Uncomment if you are using it 322 | # tools/** 323 | # !tools/packages.config 324 | 325 | # Tabs Studio 326 | *.tss 327 | 328 | # Telerik's JustMock configuration file 329 | *.jmconfig 330 | 331 | # BizTalk build output 332 | *.btp.cs 333 | *.btm.cs 334 | *.odx.cs 335 | *.xsd.cs 336 | 337 | # OpenCover UI analysis results 338 | OpenCover/ 339 | 340 | # Azure Stream Analytics local run output 341 | ASALocalRun/ 342 | 343 | # MSBuild Binary and Structured Log 344 | *.binlog 345 | 346 | # NVidia Nsight GPU debugger configuration file 347 | *.nvuser 348 | 349 | # MFractors (Xamarin productivity tool) working folder 350 | .mfractor/ 351 | 352 | # Local History for Visual Studio 353 | .localhistory/ 354 | 355 | # BeatPulse healthcheck temp database 356 | healthchecksdb 357 | 358 | # Backup folder for Package Reference Convert tool in Visual Studio 2017 359 | MigrationBackup/ 360 | 361 | # Ionide (cross platform F# VS Code tools) working folder 362 | .ionide/ 363 | 364 | # Fody - auto-generated XML schema 365 | FodyWeavers.xsd 366 | 367 | ## 368 | ## Visual studio for Mac 369 | ## 370 | 371 | 372 | # globs 373 | Makefile.in 374 | *.userprefs 375 | *.usertasks 376 | config.make 377 | config.status 378 | aclocal.m4 379 | install-sh 380 | autom4te.cache/ 381 | *.tar.gz 382 | tarballs/ 383 | test-results/ 384 | 385 | # Mac bundle stuff 386 | *.dmg 387 | *.app 388 | 389 | # content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore 390 | # General 391 | .DS_Store 392 | .AppleDouble 393 | .LSOverride 394 | 395 | # Icon must end with two \r 396 | Icon 397 | 398 | 399 | # Thumbnails 400 | ._* 401 | 402 | # Files that might appear in the root of a volume 403 | .DocumentRevisions-V100 404 | .fseventsd 405 | .Spotlight-V100 406 | .TemporaryItems 407 | .Trashes 408 | .VolumeIcon.icns 409 | .com.apple.timemachine.donotpresent 410 | 411 | # Directories potentially created on remote AFP share 412 | .AppleDB 413 | .AppleDesktop 414 | Network Trash Folder 415 | Temporary Items 416 | .apdisk 417 | 418 | # content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore 419 | # Windows thumbnail cache files 420 | Thumbs.db 421 | ehthumbs.db 422 | ehthumbs_vista.db 423 | 424 | # Dump file 425 | *.stackdump 426 | 427 | # Folder config file 428 | [Dd]esktop.ini 429 | 430 | # Recycle Bin used on file shares 431 | $RECYCLE.BIN/ 432 | 433 | # Windows Installer files 434 | *.cab 435 | *.msi 436 | *.msix 437 | *.msm 438 | *.msp 439 | 440 | # Windows shortcuts 441 | *.lnk 442 | 443 | # JetBrains Rider 444 | .idea/ 445 | *.sln.iml 446 | 447 | ## 448 | ## Visual Studio Code 449 | ## 450 | .vscode/* 451 | !.vscode/settings.json 452 | !.vscode/tasks.json 453 | !.vscode/launch.json 454 | !.vscode/extensions.json 455 | --------------------------------------------------------------------------------