├── .history ├── Team_20220610081649.cs ├── demo_20220608141904.cs ├── Algorithms_20220610115236.cs ├── NoteStore_20220610083718.cs ├── Services_20220609202339.cs ├── demo_20220608141917.cs ├── demo_20220608143120.cs ├── demo_20220609125405.cs ├── Services_20220609202349.cs ├── Team_20220610082005.cs ├── Team_20220610082007.cs ├── Team_20220610082009.cs ├── demo_20220608142228.cs ├── Algorithms_20220610115252.cs ├── Services_20220609202353.cs ├── Team_20220610082012.cs ├── demo_20220608141934.cs ├── demo_20220608142350.cs ├── demo_20220609125409.cs ├── Algorithms_20220610115254.cs ├── Algorithms_20220610115258.cs ├── demo_20220608142351.cs ├── demo_20220608142353.cs ├── demo_20220608142355.cs ├── Algorithms_20220610115300.cs ├── Team_20220610082018.cs ├── demo_20220608141938.cs ├── demo_20220608142356.cs ├── Algorithms_20220610115301.cs ├── demo_20220608142402.cs ├── Algorithms_20220610115305.cs ├── Team_20220610082023.cs ├── demo_20220608141940.cs ├── demo_20220608143216.cs ├── demo_20220608142001.cs ├── Services_20220609202400.cs ├── demo_20220608142014.cs ├── demo_20220608143220.cs ├── demo_20220609125420.cs ├── demo_20220609125454.cs ├── Team_20220610082030.cs ├── demo_20220608142016.cs ├── demo_20220608143223.cs ├── demo_20220608143228.cs ├── Algorithms_20220610115308.cs ├── Services_20220609202407.cs ├── demo_20220608142020.cs ├── demo_20220608142406.cs ├── demo_20220609125423.cs ├── Services_20220609202421.cs ├── Team_20220610082034.cs ├── Team_20220610082036.cs ├── demo_20220608142024.cs ├── demo_20220608142410.cs ├── demo_20220608142414.cs ├── demo_20220608142419.cs ├── demo_20220608143234.cs ├── demo_20220609125425.cs ├── demo_20220609125426.cs ├── Services_20220609202423.cs ├── demo_20220608142420.cs ├── demo_20220608142424.cs ├── demo_20220608142426.cs ├── demo_20220609125430.cs ├── Team_20220610082038.cs ├── Team_20220610082043.cs ├── demo_20220608142027.cs ├── demo_20220608142431.cs ├── Services_20220609202432.cs ├── Team_20220610082041.cs ├── demo_20220608142029.cs ├── demo_20220608142036.cs ├── demo_20220608142429.cs ├── demo_20220608143235.cs ├── demo_20220609125433.cs ├── demo_20220609125439.cs ├── Services_20220609202442.cs ├── Services_20220609202446.cs ├── demo_20220608142030.cs ├── demo_20220608142035.cs ├── demo_20220609125436.cs ├── demo_20220609125444.cs ├── Services_20220609202447.cs ├── Services_20220609202449.cs ├── Team_20220610082049.cs ├── demo_20220608142047.cs ├── demo_20220608143246.cs ├── demo_20220608213253.cs ├── Team_20220610082051.cs ├── demo_20220608143629.cs ├── demo_20220608142441.cs ├── demo_20220608143250.cs ├── demo_20220609125448.cs ├── demo_20220608143253.cs ├── demo_20220608143255.cs ├── demo_20220608143630.cs ├── demo_20220608213131.cs ├── demo_20220608213140.cs ├── Team_20220610082054.cs ├── demo_20220608142159.cs ├── demo_20220608143257.cs ├── demo_20220608213254.cs ├── demo_20220608142201.cs ├── demo_20220608142203.cs ├── demo_20220608142444.cs ├── demo_20220608142447.cs ├── demo_20220608143258.cs ├── demo_20220608143259.cs ├── demo_20220608143313.cs ├── demo_20220608143314.cs ├── demo_20220608143309.cs ├── demo_20220608143311.cs ├── demo_20220609125450.cs ├── demo_20220608142221.cs ├── demo_20220608143338.cs ├── demo_20220608143341.cs ├── demo_20220609125457.cs ├── demo_20220608142456.cs ├── demo_20220608142458.cs ├── demo_20220608143316.cs ├── demo_20220608142459.cs ├── demo_20220608143320.cs ├── demo_20220608142501.cs ├── demo_20220608142503.cs ├── demo_20220608142505.cs ├── demo_20220608143348.cs ├── demo_20220608143349.cs ├── Services_20220609202355.cs ├── demo_20220608142506.cs ├── demo_20220608142510.cs ├── demo_20220608142511.cs ├── demo_20220608143326.cs ├── demo_20220608143353.cs ├── demo_20220608143355.cs ├── demo_20220608142513.cs ├── demo_20220608142514.cs ├── demo_20220608143357.cs ├── demo_20220608143358.cs ├── demo_20220608143404.cs ├── demo_20220608142518.cs ├── demo_20220608142519.cs ├── demo_20220608143328.cs ├── demo_20220608143402.cs ├── demo_20220608142524.cs ├── demo_20220608142525.cs ├── demo_20220608143410.cs ├── demo_20220608143411.cs ├── demo_20220608143414.cs ├── demo_20220608143416.cs ├── demo_20220608143428.cs ├── demo_20220608142528.cs ├── demo_20220608142530.cs ├── demo_20220608143427.cs ├── Team_20220610082056.cs ├── demo_20220608142533.cs ├── demo_20220608143624.cs ├── Team_20220610082058.cs ├── demo_20220608142537.cs ├── demo_20220608142538.cs ├── demo_20220608142547.cs ├── demo_20220608142552.cs ├── demo_20220608142554.cs ├── demo_20220608142549.cs ├── demo_20220608142629.cs ├── demo_20220608142610.cs ├── demo_20220608143423.cs ├── .autogit │ ├── autogit_20220607233917.json │ └── autogit_20220607234056.json ├── demo_20220608142630.cs ├── Program_20220609202913.cs ├── demo_20220608142616.cs ├── Program_20220609202915.cs ├── Program_20220609202923.cs ├── Program_20220609202927.cs ├── Program_20220609202917.cs ├── Program_20220609202919.cs ├── Services_20220609202529.cs ├── Program_20220609203024.cs ├── Services_20220609202528.cs ├── Services_20220609202536.cs ├── demo_20220608142634.cs ├── demo_20220608142637.cs ├── Services_20220609202540.cs ├── Services_20220609202542.cs ├── Program_20220609203029.cs ├── Program_20220609203031.cs ├── demo_20220608142639.cs ├── demo_20220608142640.cs ├── demo_20220608142641.cs ├── demo_20220608142654.cs ├── Services_20220609202937.cs ├── demo_20220608142647.cs ├── Program_20220609203032.cs ├── Program_20220609203033.cs ├── Services_20220609202502.cs ├── Services_20220609202508.cs ├── Services_20220609202938.cs ├── Services_20220609202942.cs ├── demo_20220608142648.cs ├── demo_20220608142657.cs ├── demo_20220608142701.cs ├── Program_20220609203109.cs ├── Services_20220609202455.cs ├── Program_20220609202207.cs ├── Program_20220609202208.cs ├── Program_20220609202219.cs ├── Program_20220609202235.cs ├── Program_20220609203112.cs ├── Services_20220609202952.cs ├── Program_20220609202225.cs ├── Program_20220609202227.cs ├── Program_20220609202231.cs ├── Program_20220609202554.cs ├── Program_20220609203113.cs ├── Program_20220609203114.cs ├── Program_20220609203131.cs ├── Program_20220609203134.cs ├── Program_20220609203203.cs ├── Program_20220609203204.cs ├── Program_20220609203346.cs ├── Program_20220609203358.cs ├── Services_20220609202511.cs ├── demo_20220608142703.cs ├── Program_20220609203117.cs ├── Program_20220609203118.cs ├── Program_20220609203136.cs ├── Program_20220609203145.cs ├── Program_20220609202228.cs ├── Program_20220609202631.cs ├── demo_20220608142706.cs ├── demo_20220608142711.cs ├── demo_20220608142741.cs ├── demo_20220608142748.cs ├── demo_20220608142906.cs ├── demo_20220608142918.cs ├── demo_20220608142920.cs ├── demo_20220608143045.cs ├── Program_20220609202556.cs ├── Program_20220609202619.cs ├── demo_20220608142754.cs ├── demo_20220608142756.cs ├── demo_20220608142914.cs ├── demo_20220608142800.cs ├── demo_20220608142903.cs ├── Program_20220609204429.cs ├── demo_20220608142813.cs ├── demo_20220608142816.cs ├── demo_20220608142858.cs ├── Program_20220609204431.cs ├── Program_20220609204435.cs ├── Team_20220610082101.cs ├── Program_20220609204436.cs ├── Program_20220609204438.cs ├── demo_20220608142855.cs ├── Program_20220609204439.cs ├── Program_20220609204441.cs ├── Program_20220609204444.cs ├── Services_20220609203007.cs ├── Team_20220610082103.cs ├── Team_20220610082110.cs ├── demo_20220608220831.cs ├── Program_20220609204552.cs ├── Program_20220609204553.cs ├── Services_20220609203009.cs ├── Program_20220609204556.cs ├── demo_20220608213428.cs ├── demo_20220608213429.cs ├── demo_20220608213312.cs ├── demo_20220608213423.cs ├── Team_20220610082119.cs ├── demo_20220608143005.cs ├── demo_20220608143033.cs ├── Team_20220610082124.cs ├── demo_20220608143002.cs ├── demo_20220608143024.cs ├── demo_20220608143027.cs ├── demo_20220608143028.cs ├── Team_20220610082126.cs ├── Algorithms_20220610115311.cs ├── Algorithms_20220610115317.cs ├── Algorithms_20220610115325.cs ├── Team_20220610082133.cs ├── demo_20220608213306.cs ├── Algorithms_20220610115332.cs ├── Algorithms_20220610115327.cs ├── Algorithms_20220610115335.cs ├── Algorithms_20220610115340.cs ├── Algorithms_20220610115416.cs ├── Algorithms_20220610115422.cs ├── Algorithms_20220610115424.cs ├── Program_20220609204557.cs ├── Program_20220609204615.cs ├── Team_20220610082135.cs ├── Algorithms_20220610115432.cs ├── Algorithms_20220610115435.cs ├── Algorithms_20220610115438.cs ├── Algorithms_20220610115452.cs ├── Algorithms_20220610115518.cs ├── Algorithms_20220610115526.cs ├── Algorithms_20220610115536.cs ├── Algorithms_20220610115539.cs ├── Program_20220609211613.cs ├── Algorithms_20220610115551.cs ├── Algorithms_20220610115553.cs ├── Algorithms_20220610115559.cs ├── Algorithms_20220610115600.cs ├── Algorithms_20220610115612.cs ├── Algorithms_20220610115614.cs ├── Algorithms_20220610115619.cs ├── Algorithms_20220610115620.cs ├── Team_20220610082137.cs ├── demo_20220609125558.cs ├── demo_20220609171624.cs ├── Services_20220609202523.cs ├── Team_20220610082139.cs ├── Program_20220609211616.cs ├── Team_20220610082141.cs ├── demo_20220609125642.cs ├── demo_20220609171620.cs ├── demo_20220609171621.cs ├── Program_20220609221504.cs ├── demo_20220609125502.cs ├── Program_20220609211619.cs ├── Program_20220609221510.cs ├── Program_20220609221511.cs ├── Program_20220609211621.cs ├── Program_20220609221515.cs ├── Team_20220610082143.cs ├── Team_20220610082200.cs ├── Team_20220610082206.cs ├── demo_20220609171616.cs ├── Program_20220609211623.cs ├── Program_20220609221517.cs ├── Program_20220609221525.cs ├── Program_20220609221530.cs ├── Team_20220610082213.cs ├── Program_20220609221532.cs ├── Team_20220610082219.cs ├── Services_20220609203011.cs ├── Services_20220609203015.cs ├── Program_20220609221533.cs ├── Team_20220610082220.cs ├── Team_20220610082233.cs ├── Team_20220610082234.cs ├── Services_20220609204324.cs ├── Services_20220609204332.cs ├── Program_20220609221549.cs ├── Services_20220609204337.cs ├── Services_20220609204344.cs ├── Services_20220609204348.cs ├── Services_20220609204358.cs ├── Services_20220609204403.cs ├── Program_20220609211626.cs ├── Services_20220609204405.cs ├── Team_20220610082145.cs ├── Program_20220609202204.cs ├── Program_20220609202200.cs ├── Services_20220609204406.cs ├── Team_20220610082149.cs ├── Team_20220610082239.cs ├── Program_20220609211628.cs ├── Program_20220609221552.cs ├── Program_20220609221554.cs ├── Program_20220609221645.cs ├── Team_20220610082246.cs ├── Program_20220609221800.cs ├── Program_20220609211629.cs ├── Program_20220609221803.cs ├── Program_20220609211631.cs ├── Team_20220610082257.cs ├── Algorithms_20220610115646.cs ├── Team_20220610082306.cs ├── Algorithms_20220610115634.cs ├── Program_20220609211633.cs ├── Team_20220610082253.cs ├── Team_20220610082313.cs ├── Program_20220609221805.cs ├── Team_20220610082321.cs ├── Team_20220610082324.cs ├── Program_20220609221806.cs ├── Program_20220609221807.cs ├── Program_20220609211635.cs ├── Program_20220609221813.cs ├── Program_20220609221841.cs ├── Program_20220609223105.cs ├── Program_20220609223109.cs ├── Program_20220609223114.cs ├── Program_20220609223118.cs ├── Team_20220610082326.cs ├── Program_20220609223123.cs ├── Program_20220609221836.cs ├── Program_20220609223124.cs ├── Program_20220609223127.cs ├── Services_20220609204409.cs ├── Program_20220609223129.cs ├── Program_20220609223138.cs ├── Program_20220609223954.cs ├── Program_20220609223143.cs ├── Program_20220609223958.cs ├── Program_20220609223211.cs ├── Program_20220609223146.cs ├── Program_20220609224000.cs ├── Program_20220609224003.cs ├── Program_20220609223131.cs ├── Program_20220609223140.cs ├── Services_20220609204517.cs ├── Services_20220609204519.cs ├── Services_20220609204520.cs ├── Program_20220609224010.cs ├── Program_20220609224012.cs ├── Program_20220609223158.cs ├── Program_20220609223159.cs ├── Program_20220609223213.cs ├── Services_20220609204522.cs ├── Program_20220609223202.cs ├── Program_20220609224017.cs ├── Program_20220609224028.cs ├── Program_20220609224029.cs ├── Program_20220609224031.cs └── Program_20220609223204.cs ├── .gitignore ├── .vs ├── CLI-Script-Automations │ ├── FileContentIndex │ │ ├── read.lock │ │ ├── 57ee8b5c-635b-493f-ad6e-c97a3656694b.vsidx │ │ ├── 8bb1925f-3add-4552-a46f-e181d4e134db.vsidx │ │ ├── e239fd8b-80ac-44ec-8ebc-d0bba726ec94.vsidx │ │ └── f7815fe6-7b31-41c6-9ea4-121399629928.vsidx │ ├── v17 │ │ ├── .suo │ │ └── .futdcache.v1 │ └── DesignTimeBuild │ │ └── .dtbcache.v2 └── ProjectEvaluation │ ├── cli-script-automations.metadata.v2 │ └── cli-script-automations.projects.v2 ├── obj ├── Debug │ └── net6.0 │ │ ├── CLI-Script-Automations.csproj.CopyComplete │ │ ├── CLI-Script-Automations.csproj.BuildWithSkipAnalyzers │ │ ├── CLI-Script-Automations.genruntimeconfig.cache │ │ ├── CLI-Script-Automations.AssemblyInfoInputs.cache │ │ ├── CLI-Script-Automations.csproj.CoreCompileInputs.cache │ │ ├── apphost.exe │ │ ├── CLI-Script-Automations.dll │ │ ├── CLI-Script-Automations.pdb │ │ ├── ref │ │ └── CLI-Script-Automations.dll │ │ ├── refint │ │ └── CLI-Script-Automations.dll │ │ ├── CLI-Script-Automations.assets.cache │ │ ├── CLI-Script-Automations.csproj.AssemblyReference.cache │ │ ├── .NETCoreApp,Version=v6.0.AssemblyAttributes.cs │ │ ├── CLI-Script-Automations.GlobalUsings.g.cs │ │ └── CLI-Script-Automations.GeneratedMSBuildEditorConfig.editorconfig ├── CLI-Script-Automations.csproj.nuget.g.targets └── project.nuget.cache ├── .vscode └── settings.json ├── bin └── Debug │ └── net6.0 │ ├── CliWrap.dll │ ├── CLI-Script-Automations.dll │ ├── CLI-Script-Automations.exe │ ├── CLI-Script-Automations.pdb │ └── CLI-Script-Automations.runtimeconfig.json ├── .autogit └── autogit.json └── CLI-Script-Automations.csproj /.history/Team_20220610081649.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.history/demo_20220608141904.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /obj 2 | /bin/Debug/net6.0 -------------------------------------------------------------------------------- /.history/Algorithms_20220610115236.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.history/NoteStore_20220610083718.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.history/Services_20220609202339.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.history/demo_20220608141917.cs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.history/demo_20220608143120.cs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.history/demo_20220609125405.cs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.history/Services_20220609202349.cs: -------------------------------------------------------------------------------- 1 | public -------------------------------------------------------------------------------- /.history/Team_20220610082005.cs: -------------------------------------------------------------------------------- 1 | //CReate a -------------------------------------------------------------------------------- /.history/Team_20220610082007.cs: -------------------------------------------------------------------------------- 1 | //Create a -------------------------------------------------------------------------------- /.history/Team_20220610082009.cs: -------------------------------------------------------------------------------- 1 | //Create a -------------------------------------------------------------------------------- /.history/demo_20220608142228.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.history/Algorithms_20220610115252.cs: -------------------------------------------------------------------------------- 1 | public s -------------------------------------------------------------------------------- /.history/Services_20220609202353.cs: -------------------------------------------------------------------------------- 1 | public class -------------------------------------------------------------------------------- /.history/Team_20220610082012.cs: -------------------------------------------------------------------------------- 1 | //Create a class -------------------------------------------------------------------------------- /.history/demo_20220608141934.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = -------------------------------------------------------------------------------- /.history/demo_20220608142350.cs: -------------------------------------------------------------------------------- 1 | 2 | for() 3 | -------------------------------------------------------------------------------- /.history/demo_20220609125409.cs: -------------------------------------------------------------------------------- 1 | //check if 2 | -------------------------------------------------------------------------------- /.history/Algorithms_20220610115254.cs: -------------------------------------------------------------------------------- 1 | public static -------------------------------------------------------------------------------- /.history/Algorithms_20220610115258.cs: -------------------------------------------------------------------------------- 1 | public static c -------------------------------------------------------------------------------- /.history/demo_20220608142351.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int) 3 | -------------------------------------------------------------------------------- /.history/demo_20220608142353.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int ) 3 | -------------------------------------------------------------------------------- /.history/demo_20220608142355.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1) 3 | -------------------------------------------------------------------------------- /.vs/CLI-Script-Automations/FileContentIndex/read.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.history/Algorithms_20220610115300.cs: -------------------------------------------------------------------------------- 1 | public static class -------------------------------------------------------------------------------- /.history/Team_20220610082018.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with -------------------------------------------------------------------------------- /.history/demo_20220608141938.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B -------------------------------------------------------------------------------- /.history/demo_20220608142356.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; ) 3 | -------------------------------------------------------------------------------- /.history/Algorithms_20220610115301.cs: -------------------------------------------------------------------------------- 1 | public static class Al -------------------------------------------------------------------------------- /.history/demo_20220608142402.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; ) 3 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/CLI-Script-Automations.csproj.CopyComplete: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.history/Algorithms_20220610115305.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms -------------------------------------------------------------------------------- /.history/Team_20220610082023.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName -------------------------------------------------------------------------------- /.history/demo_20220608141940.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | -------------------------------------------------------------------------------- /.history/demo_20220608143216.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public string 5 | -------------------------------------------------------------------------------- /.history/demo_20220608142001.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/CLI-Script-Automations.csproj.BuildWithSkipAnalyzers: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.history/Services_20220609202400.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | 4 | } -------------------------------------------------------------------------------- /.history/demo_20220608142014.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var -------------------------------------------------------------------------------- /.history/demo_20220608143220.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public string Palindrome() 5 | -------------------------------------------------------------------------------- /.history/demo_20220609125420.cs: -------------------------------------------------------------------------------- 1 | //check if string is a palindrome or not 2 | -------------------------------------------------------------------------------- /.history/demo_20220609125454.cs: -------------------------------------------------------------------------------- 1 | public class Demo 2 | { 3 | 4 | 5 | } 6 | -------------------------------------------------------------------------------- /.history/Team_20220610082030.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and -------------------------------------------------------------------------------- /.history/demo_20220608142016.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = -------------------------------------------------------------------------------- /.history/demo_20220608143223.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public string Palindrome(string) 5 | -------------------------------------------------------------------------------- /.history/demo_20220608143228.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string) 5 | -------------------------------------------------------------------------------- /.history/Algorithms_20220610115308.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | 4 | } -------------------------------------------------------------------------------- /.history/Services_20220609202407.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public 4 | } -------------------------------------------------------------------------------- /.history/demo_20220608142020.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | -------------------------------------------------------------------------------- /.history/demo_20220608142406.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /.history/demo_20220609125423.cs: -------------------------------------------------------------------------------- 1 | //check if string is a palindrome or not and return 2 | -------------------------------------------------------------------------------- /.history/Services_20220609202421.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void 4 | } -------------------------------------------------------------------------------- /.history/Team_20220610082034.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayer -------------------------------------------------------------------------------- /.history/Team_20220610082036.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers -------------------------------------------------------------------------------- /.history/demo_20220608142024.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | var A -------------------------------------------------------------------------------- /.history/demo_20220608142410.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if() 5 | } 6 | -------------------------------------------------------------------------------- /.history/demo_20220608142414.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(1) 5 | } 6 | -------------------------------------------------------------------------------- /.history/demo_20220608142419.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(1%) 5 | } 6 | -------------------------------------------------------------------------------- /.history/demo_20220608143234.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | {} 6 | -------------------------------------------------------------------------------- /.history/demo_20220609125425.cs: -------------------------------------------------------------------------------- 1 | //check if string is a palindrome or not and return bl 2 | -------------------------------------------------------------------------------- /.history/demo_20220609125426.cs: -------------------------------------------------------------------------------- 1 | //check if string is a palindrome or not and return bool 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.words": [ 3 | "Automations" 4 | ] 5 | } -------------------------------------------------------------------------------- /.history/Services_20220609202423.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void Print 4 | } -------------------------------------------------------------------------------- /.history/demo_20220608142420.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(1%3) 5 | } 6 | -------------------------------------------------------------------------------- /.history/demo_20220608142424.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3) 5 | } 6 | -------------------------------------------------------------------------------- /.history/demo_20220608142426.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==3) 5 | } 6 | -------------------------------------------------------------------------------- /.history/demo_20220609125430.cs: -------------------------------------------------------------------------------- 1 | //check if string is a palindrome or not and return boolean 2 | -------------------------------------------------------------------------------- /.history/Team_20220610082038.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | -------------------------------------------------------------------------------- /.history/Team_20220610082043.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | -------------------------------------------------------------------------------- /.history/demo_20220608142027.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | var A = B; 7 | -------------------------------------------------------------------------------- /.history/demo_20220608142431.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) 5 | 6 | } 7 | -------------------------------------------------------------------------------- /.history/Services_20220609202432.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void PrintOddNumbers() 4 | } -------------------------------------------------------------------------------- /.history/Team_20220610082041.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | 3 | -------------------------------------------------------------------------------- /.history/demo_20220608142029.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | var A = B; 7 | var -------------------------------------------------------------------------------- /.history/demo_20220608142036.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | A = B; 7 | B = C; -------------------------------------------------------------------------------- /.history/demo_20220608142429.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) 5 | 6 | } 7 | -------------------------------------------------------------------------------- /.history/demo_20220608143235.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220609125433.cs: -------------------------------------------------------------------------------- 1 | //check if string is a palindrome or not and return boolean value 2 | 3 | -------------------------------------------------------------------------------- /.history/demo_20220609125439.cs: -------------------------------------------------------------------------------- 1 | //check if string is a palindrome or not and return boolean value 2 | 3 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/CLI-Script-Automations.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | acee743f27136b24e078c792e8f8f5db5224a27e 2 | -------------------------------------------------------------------------------- /.history/Services_20220609202442.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void PrintOddNumbers(int) 4 | } -------------------------------------------------------------------------------- /.history/Services_20220609202446.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void PrintOddNumbers(int a, ) 4 | } -------------------------------------------------------------------------------- /.history/demo_20220608142030.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | var A = B; 7 | var B = C; -------------------------------------------------------------------------------- /.history/demo_20220608142035.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | A = B; 7 | var B = C; -------------------------------------------------------------------------------- /.history/demo_20220609125436.cs: -------------------------------------------------------------------------------- 1 | //check if string is a palindrome or not and return boolean value 2 | 3 | 4 | -------------------------------------------------------------------------------- /.history/demo_20220609125444.cs: -------------------------------------------------------------------------------- 1 | //check if string is a palindrome or not and return boolean value 2 | public 3 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/CLI-Script-Automations.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | c74710a2fb8703a1894c401919eb08a37205db1d 2 | -------------------------------------------------------------------------------- /.history/Services_20220609202447.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void PrintOddNumbers(int a, int) 4 | } -------------------------------------------------------------------------------- /.history/Services_20220609202449.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void PrintOddNumbers(int a, int b) 4 | } -------------------------------------------------------------------------------- /.history/Team_20220610082049.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class Tea -------------------------------------------------------------------------------- /.history/demo_20220608142047.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | A = B; 7 | B = C; 8 | 9 | -------------------------------------------------------------------------------- /.history/demo_20220608143246.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608213253.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public bool Palindrome(string input1) 5 | { 6 | 7 | 8 | } 9 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/CLI-Script-Automations.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | ffab1e3d720ebc5ebfb011138f9ecca7f722272e 2 | -------------------------------------------------------------------------------- /.history/Team_20220610082051.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team{} -------------------------------------------------------------------------------- /.history/demo_20220608143629.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input1, string input2) 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /bin/Debug/net6.0/CliWrap.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/bin/Debug/net6.0/CliWrap.dll -------------------------------------------------------------------------------- /obj/Debug/net6.0/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/obj/Debug/net6.0/apphost.exe -------------------------------------------------------------------------------- /.history/demo_20220608142441.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz") 5 | 6 | } 7 | -------------------------------------------------------------------------------- /.history/demo_20220608143250.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220609125448.cs: -------------------------------------------------------------------------------- 1 | //check if string is a palindrome or not and return boolean value 2 | public class Demo{} 3 | -------------------------------------------------------------------------------- /.history/demo_20220608143253.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = input. 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608143255.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = input.Re 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608143630.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input1, string input2) 5 | { 6 | 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608213131.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public bool Palindrome(string input1, string input2) 5 | { 6 | 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608213140.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public bool Palindrome(string input1, string input2) 5 | { 6 | 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/Team_20220610082054.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | 5 | } -------------------------------------------------------------------------------- /.history/demo_20220608142159.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | A = B; 7 | B = C; 8 | 9 | A = 10; 10 | -------------------------------------------------------------------------------- /.history/demo_20220608143257.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = input.Reverse 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608213254.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public bool Palindrome(string input1) 5 | { 6 | 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /.vs/CLI-Script-Automations/v17/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/.vs/CLI-Script-Automations/v17/.suo -------------------------------------------------------------------------------- /.history/demo_20220608142201.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | A = B; 7 | B = C; 8 | 9 | A = 10; 10 | B = 5 -------------------------------------------------------------------------------- /.history/demo_20220608142203.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | A = B; 7 | B = C; 8 | 9 | A = 10; 10 | B = 5; -------------------------------------------------------------------------------- /.history/demo_20220608142444.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if() 6 | 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608142447.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i) 6 | 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608143258.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = input.Reverse() 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608143259.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = input.Reverse(); 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608143313.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = input.Reverse(); 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608143314.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = input.Reverse(); 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608143309.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = String.Reve input.Reverse(); 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608143311.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = String.Rev input.Reverse(); 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220609125450.cs: -------------------------------------------------------------------------------- 1 | //check if string is a palindrome or not and return boolean value 2 | public class Demo 3 | { 4 | 5 | 6 | } 7 | -------------------------------------------------------------------------------- /.vs/CLI-Script-Automations/v17/.futdcache.v1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/.vs/CLI-Script-Automations/v17/.futdcache.v1 -------------------------------------------------------------------------------- /bin/Debug/net6.0/CLI-Script-Automations.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/bin/Debug/net6.0/CLI-Script-Automations.dll -------------------------------------------------------------------------------- /bin/Debug/net6.0/CLI-Script-Automations.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/bin/Debug/net6.0/CLI-Script-Automations.exe -------------------------------------------------------------------------------- /bin/Debug/net6.0/CLI-Script-Automations.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/bin/Debug/net6.0/CLI-Script-Automations.pdb -------------------------------------------------------------------------------- /obj/Debug/net6.0/CLI-Script-Automations.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/obj/Debug/net6.0/CLI-Script-Automations.dll -------------------------------------------------------------------------------- /obj/Debug/net6.0/CLI-Script-Automations.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/obj/Debug/net6.0/CLI-Script-Automations.pdb -------------------------------------------------------------------------------- /.history/demo_20220608142221.cs: -------------------------------------------------------------------------------- 1 | 2 | var A = 5; 3 | var B = 10; 4 | 5 | var C = A; 6 | A = B; 7 | B = C; 8 | 9 | A = 10; 10 | B = 5; 11 | 12 | -------------------------------------------------------------------------------- /.history/demo_20220608143338.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | 7 | if(input == revered) 8 | 9 | 10 | } 11 | -------------------------------------------------------------------------------- /.history/demo_20220608143341.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | for() 7 | if(input == revered) 8 | 9 | 10 | } 11 | -------------------------------------------------------------------------------- /.history/demo_20220609125457.cs: -------------------------------------------------------------------------------- 1 | public class Demo 2 | { 3 | 4 | //check if string is a palindrome or not and return boolean value 5 | 6 | 7 | 8 | } 9 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/ref/CLI-Script-Automations.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/obj/Debug/net6.0/ref/CLI-Script-Automations.dll -------------------------------------------------------------------------------- /.history/demo_20220608142456.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine 6 | 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608142458.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine() 6 | 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608143316.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = input.Reverse(); 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/refint/CLI-Script-Automations.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/obj/Debug/net6.0/refint/CLI-Script-Automations.dll -------------------------------------------------------------------------------- /.history/demo_20220608142459.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("B") 6 | 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608143320.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = input.Reverse(); 7 | 8 | 9 | 10 | } 11 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/CLI-Script-Automations.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/obj/Debug/net6.0/CLI-Script-Automations.assets.cache -------------------------------------------------------------------------------- /.history/demo_20220608142501.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz") 6 | 7 | } 8 | -------------------------------------------------------------------------------- /.vs/CLI-Script-Automations/DesignTimeBuild/.dtbcache.v2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/.vs/CLI-Script-Automations/DesignTimeBuild/.dtbcache.v2 -------------------------------------------------------------------------------- /.vs/ProjectEvaluation/cli-script-automations.metadata.v2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/.vs/ProjectEvaluation/cli-script-automations.metadata.v2 -------------------------------------------------------------------------------- /.vs/ProjectEvaluation/cli-script-automations.projects.v2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/.vs/ProjectEvaluation/cli-script-automations.projects.v2 -------------------------------------------------------------------------------- /.history/demo_20220608142503.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142505.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if() 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608143348.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed 7 | for() 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608143349.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for() 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/Services_20220609202355.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public static void Main() 4 | { 5 | var service = new Service(); 6 | service.Start(); 7 | } 8 | } -------------------------------------------------------------------------------- /.history/demo_20220608142506.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i) 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142510.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%) 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142511.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3) 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608143326.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = input.Reverse(); 7 | 8 | if(input == revered) 9 | 10 | } 11 | -------------------------------------------------------------------------------- /.history/demo_20220608143353.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int) 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608143355.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i) 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608142513.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 ==) 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142514.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 == 0 ) 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608143357.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i=) 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608143358.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i=0; ) 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608143404.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i=0; ) 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608142518.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 == 0 && ) 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142519.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 == 0 && i) 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608143328.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string revered = input.Reverse(); 7 | 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608143402.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i=0; i.) 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /obj/CLI-Script-Automations.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.history/demo_20220608142524.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 == 0 && i%5==) 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142525.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 == 0 && i%5==0) 7 | 8 | } 9 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/CLI-Script-Automations.csproj.AssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/obj/Debug/net6.0/CLI-Script-Automations.csproj.AssemblyReference.cache -------------------------------------------------------------------------------- /.history/demo_20220608143410.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i=0; input.Lenght) 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608143411.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i=0; input.Length<) 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608143414.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i=0; iinput.Length<) 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608143416.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i=0; i< input.Length<) 8 | if(input == revered) 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608143428.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i=0; i< input.Length; i++) 8 | { 9 | 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /.history/demo_20220608142528.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 == 0 && i%5==0) Console 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142530.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 == 0 && i%5==0) Console.W 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608143427.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i=0; i< input.Length; i++) 8 | { 9 | 10 | } 11 | 12 | 13 | } 14 | -------------------------------------------------------------------------------- /.history/Team_20220610082056.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | } -------------------------------------------------------------------------------- /.history/demo_20220608142533.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 == 0 && i%5==0) Console.WriteLine 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608143624.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input1, string input2) 5 | { 6 | string reversed; 7 | for(int i=0; i< input.Length; i++) 8 | { 9 | 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /.history/Team_20220610082058.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | 8 | } -------------------------------------------------------------------------------- /bin/Debug/net6.0/CLI-Script-Automations.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "net6.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "6.0.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /.history/demo_20220608142537.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz") 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142538.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.vs/CLI-Script-Automations/FileContentIndex/57ee8b5c-635b-493f-ad6e-c97a3656694b.vsidx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/.vs/CLI-Script-Automations/FileContentIndex/57ee8b5c-635b-493f-ad6e-c97a3656694b.vsidx -------------------------------------------------------------------------------- /.vs/CLI-Script-Automations/FileContentIndex/8bb1925f-3add-4552-a46f-e181d4e134db.vsidx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/.vs/CLI-Script-Automations/FileContentIndex/8bb1925f-3add-4552-a46f-e181d4e134db.vsidx -------------------------------------------------------------------------------- /.vs/CLI-Script-Automations/FileContentIndex/e239fd8b-80ac-44ec-8ebc-d0bba726ec94.vsidx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/.vs/CLI-Script-Automations/FileContentIndex/e239fd8b-80ac-44ec-8ebc-d0bba726ec94.vsidx -------------------------------------------------------------------------------- /.vs/CLI-Script-Automations/FileContentIndex/f7815fe6-7b31-41c6-9ea4-121399629928.vsidx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/CLI-Script-Automations/HEAD/.vs/CLI-Script-Automations/FileContentIndex/f7815fe6-7b31-41c6-9ea4-121399629928.vsidx -------------------------------------------------------------------------------- /.history/demo_20220608142547.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | else if(i%5==0) Console.WriteLine("Buzz"); 6 | if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142552.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | else if(i%5==0) Console.WriteLine("Buzz"); 6 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608142554.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | else if(i%5==0) Console.WriteLine("Buzz"); 6 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 7 | } 8 | -------------------------------------------------------------------------------- /.history/demo_20220608142549.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | if(i%3==0) Console.WriteLine("Fizz"); 5 | else if(i%5==0) Console.WriteLine("Buzz"); 6 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142629.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142610.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 8 | } 9 | -------------------------------------------------------------------------------- /.history/demo_20220608143423.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public int Palindrome(string input) 5 | { 6 | string reversed; 7 | for(int i=0; i< input.Length; i++) 8 | { 9 | 10 | } 11 | if(input == revered) 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /.history/.autogit/autogit_20220607233917.json: -------------------------------------------------------------------------------- 1 | { 2 | "runOnStart": true, 3 | "updateInterval": 1800, 4 | "logging": true, 5 | "silent": true, 6 | "commitMessage": "--- Auto Git Commit ---", 7 | "locale": "en-US", 8 | "timeZone": "Europe/Berlin" 9 | } -------------------------------------------------------------------------------- /.autogit/autogit.json: -------------------------------------------------------------------------------- 1 | { 2 | "runOnStart": true, 3 | "updateInterval": 25, 4 | "logging": true, 5 | "silent": true, 6 | "commitMessage": "pushed by mfmfazrin1986@gmail.com at {ts.locale.long}", 7 | "locale": "en-US", 8 | "timeZone": "Asia/Colombo" 9 | } -------------------------------------------------------------------------------- /.history/demo_20220608142630.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 8 | e 9 | } 10 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /.history/Program_20220609202913.cs: -------------------------------------------------------------------------------- 1 | using sta 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | Services.PrintSum(1, 3); 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /.history/demo_20220608142616.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | Console.WriteLine() 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 8 | } 9 | -------------------------------------------------------------------------------- /.history/Program_20220609202915.cs: -------------------------------------------------------------------------------- 1 | using static 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | Services.PrintSum(1, 3); 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /.history/Program_20220609202923.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /.history/Program_20220609202927.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /.history/Program_20220609202917.cs: -------------------------------------------------------------------------------- 1 | using static Ser 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | Services.PrintSum(1, 3); 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /.history/Program_20220609202919.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | Services.PrintSum(1, 3); 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /.history/.autogit/autogit_20220607234056.json: -------------------------------------------------------------------------------- 1 | { 2 | "runOnStart": true, 3 | "updateInterval": 25, 4 | "logging": true, 5 | "silent": true, 6 | "commitMessage": "pushed by mfmfazrin1986@gmail.com at {ts.locale.long}", 7 | "locale": "en-US", 8 | "timeZone": "Asia/Colombo" 9 | } -------------------------------------------------------------------------------- /.history/Services_20220609202529.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | } -------------------------------------------------------------------------------- /.history/Program_20220609203024.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Services_20220609202528.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | 4 | public void PrintSum(int a, int b) 5 | { 6 | int sum = 0; 7 | for (int i = a; i <= b; i++) 8 | { 9 | sum += i; 10 | } 11 | Console.WriteLine(sum); 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Services_20220609202536.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | } -------------------------------------------------------------------------------- /.history/demo_20220608142634.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 8 | else 9 | Console.WriteLine() 10 | } 11 | -------------------------------------------------------------------------------- /.history/demo_20220608142637.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 8 | else 9 | Console.WriteLine(i.) 10 | } 11 | -------------------------------------------------------------------------------- /.history/Services_20220609202540.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | } -------------------------------------------------------------------------------- /.history/Services_20220609202542.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | } -------------------------------------------------------------------------------- /.history/Program_20220609203029.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | ReverseString 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203031.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | ReverseString() 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/demo_20220608142639.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 8 | else 9 | Console.WriteLine(i.ToString) 10 | } 11 | -------------------------------------------------------------------------------- /.history/demo_20220608142640.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 8 | else 9 | Console.WriteLine(i.ToString()) 10 | } 11 | -------------------------------------------------------------------------------- /.history/demo_20220608142641.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 8 | else 9 | Console.WriteLine(i.ToString()); 10 | } 11 | -------------------------------------------------------------------------------- /.history/demo_20220608142654.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 8 | else 9 | Console.WriteLine(i.ToString()); 10 | } 11 | -------------------------------------------------------------------------------- /.history/Services_20220609202937.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | 14 | } -------------------------------------------------------------------------------- /.history/demo_20220608142647.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if 8 | (i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 9 | else 10 | Console.WriteLine(i.ToString()); 11 | } 12 | -------------------------------------------------------------------------------- /.history/Program_20220609203032.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | ReverseString("Hello World"); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203033.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | ReverseString("Hello World"); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Services_20220609202502.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void PrintOddNumbers(int a, int b) 4 | { 5 | for (int i = a; i <= b; i++) 6 | { 7 | if (i % 2 != 0) 8 | { 9 | Console.WriteLine(i); 10 | } 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Services_20220609202508.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void PrintOddNumbers(int a, int b) 4 | { 5 | for (int i = a; i <= b; i++) 6 | { 7 | if (i % 2 != 0) 8 | { 9 | Console.WriteLine(i); 10 | } 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Services_20220609202938.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // 14 | } -------------------------------------------------------------------------------- /.history/Services_20220609202942.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // 14 | } -------------------------------------------------------------------------------- /.history/demo_20220608142648.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if 8 | (i%3 == 0 && i%5==0) Console.WriteLine("Fizz Buzz"); 9 | else 10 | Console.WriteLine(i.ToString()); 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608142657.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) 8 | Console.WriteLine("Fizz Buzz"); 9 | else 10 | Console.WriteLine(i.ToString()); 11 | } 12 | -------------------------------------------------------------------------------- /.history/demo_20220608142701.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) Console.WriteLine("Buzz"); 7 | else if(i%3 == 0 && i%5==0) 8 | Console.WriteLine("Fizz Buzz"); 9 | else 10 | Console.WriteLine(i.ToString()); 11 | } 12 | -------------------------------------------------------------------------------- /.history/Program_20220609203109.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | Console.ReverseString("Hello World"); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Services_20220609202455.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void PrintOddNumbers(int a, int b) 4 | { 5 | for (int i = a; i <= b; i++) 6 | { 7 | if (i % 2 != 0) 8 | { 9 | System.Console.WriteLine(i); 10 | } 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609202207.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609202208.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609202219.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | var 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609202235.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | var 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609203112.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | Console.WriteReverseString("Hello World"); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Services_20220609202952.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609202225.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | var op 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609202227.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | var op = 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609202231.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | var o 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609202554.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | Services 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609203113.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | Console.WriteLineReverseString("Hello World"); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203114.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("Hello World"); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203131.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203134.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("F A Z RIN")); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203203.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203204.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203346.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAROOK")); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203358.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Services_20220609202511.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void PrintOddNumbers(int a, int b) 4 | { 5 | for (int i = a; i <= b; i++) 6 | { 7 | if (i % 2 != 0) 8 | { 9 | Console.WriteLine(i); 10 | } 11 | } 12 | } 13 | 14 | 15 | } -------------------------------------------------------------------------------- /.history/demo_20220608142703.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) Console.WriteLine("Fizz"); 6 | else if(i%5==0) 7 | Console.WriteLine("Buzz"); 8 | else if(i%3 == 0 && i%5==0) 9 | Console.WriteLine("Fizz Buzz"); 10 | else 11 | Console.WriteLine(i.ToString()); 12 | } 13 | -------------------------------------------------------------------------------- /.history/Program_20220609203117.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("Hello World")); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203118.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("Hello World")); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203136.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("F A Z R I N")); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609203145.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("F A Z R I N")); 10 | 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.history/Program_20220609202228.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | var op = new Options(); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609202631.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | Services.PrintSum(1, 3); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/demo_20220608142706.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142711.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142741.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0 ) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142748.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0 && ) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142906.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142918.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0) 6 | Console.WriteLine("Fizz Buzz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0) 10 | Console.WriteLine("Fizz "); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142920.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0) 6 | Console.WriteLine("Fizz Buzz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0) 10 | Console.WriteLine("Fizz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608143045.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0) 6 | Console.WriteLine("Fizz Buzz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0) 10 | Console.WriteLine("Fizz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/Program_20220609202556.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | Services.PrintSum(1, 10); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609202619.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | Services.PrintSum(1, 100); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/demo_20220608142754.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0 && i) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142756.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0 && i%) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142914.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0) 6 | Console.WriteLine("Fizz Buzz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142800.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0 && i%5!=0) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142903.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/Program_20220609204429.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | SortString 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /obj/Debug/net6.0/CLI-Script-Automations.GlobalUsings.g.cs: -------------------------------------------------------------------------------- 1 | // 2 | global using global::System; 3 | global using global::System.Collections.Generic; 4 | global using global::System.IO; 5 | global using global::System.Linq; 6 | global using global::System.Net.Http; 7 | global using global::System.Threading; 8 | global using global::System.Threading.Tasks; 9 | -------------------------------------------------------------------------------- /.history/demo_20220608142813.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0 && i%5!=0) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0 && i%5!=0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142816.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3==0 && i%5!=0) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0 && i%3!=0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/demo_20220608142858.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0 && i%3!=0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/Program_20220609204431.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | SortString("FAZRIN"); 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609204435.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.SortString("FAZRIN"); 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Team_20220610082101.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | } -------------------------------------------------------------------------------- /.history/Program_20220609204436.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WSortString("FAZRIN"); 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609204438.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriSortString("FAZRIN"); 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/demo_20220608142855.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0i%3==0 && i%5!=0) 6 | Console.WriteLine("Fizz"); 7 | else if(i%5==0 && i%3!=0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0 && i%5==0) 10 | Console.WriteLine("Fizz Buzz"); 11 | else 12 | Console.WriteLine(i.ToString()); 13 | } 14 | -------------------------------------------------------------------------------- /.history/Program_20220609204439.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLineSortString("FAZRIN"); 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609204441.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN"); 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609204444.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Services_20220609203007.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | } -------------------------------------------------------------------------------- /.history/Team_20220610082103.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | 14 | } -------------------------------------------------------------------------------- /.history/Team_20220610082110.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | // 14 | } -------------------------------------------------------------------------------- /.history/demo_20220608220831.cs: -------------------------------------------------------------------------------- 1 | static bool Palindrome(string input1) 2 | { 3 | string input = input1.ToLower(); 4 | string input2 = ""; 5 | for (int i = input.Length - 1; i >= 0; i--) 6 | { 7 | input2 += input[i]; 8 | } 9 | if (input == input2) 10 | { 11 | return true; 12 | } 13 | else 14 | { 15 | return false; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /.history/Program_20220609204552.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | I 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609204553.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Services_20220609203009.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | 15 | } -------------------------------------------------------------------------------- /.history/Program_20220609204556.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Cons 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/demo_20220608213428.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | static bool Palindrome(string input1) 4 | { 5 | string input = input1.ToLower(); 6 | string input2 = ""; 7 | for (int i = input.Length - 1; i >= 0; i--) 8 | { 9 | input2 += input[i]; 10 | } 11 | if (input == input2) 12 | { 13 | return true; 14 | } 15 | else 16 | { 17 | return false; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /.history/demo_20220608213429.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | static bool Palindrome(string input1) 4 | { 5 | string input = input1.ToLower(); 6 | string input2 = ""; 7 | for (int i = input.Length - 1; i >= 0; i--) 8 | { 9 | input2 += input[i]; 10 | } 11 | if (input == input2) 12 | { 13 | return true; 14 | } 15 | else 16 | { 17 | return false; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /.history/demo_20220608213312.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public bool Palindrome(string input1) 5 | { 6 | string input = input1.ToLower(); 7 | string input2 = ""; 8 | for (int i = input.Length - 1; i >= 0; i--) 9 | { 10 | input2 += input[i]; 11 | } 12 | if (input == input2) 13 | { 14 | return true; 15 | } 16 | else 17 | { 18 | return false; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /.history/demo_20220608213423.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | static bool Palindrome(string input1) 5 | { 6 | string input = input1.ToLower(); 7 | string input2 = ""; 8 | for (int i = input.Length - 1; i >= 0; i--) 9 | { 10 | input2 += input[i]; 11 | } 12 | if (input == input2) 13 | { 14 | return true; 15 | } 16 | else 17 | { 18 | return false; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /.history/Team_20220610082119.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to 14 | } -------------------------------------------------------------------------------- /.history/demo_20220608143005.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0) 6 | Console.WriteLine("Fizz Buzz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0) 10 | Console.WriteLine("Fizz"); 11 | else if(i%3 == 0) 12 | Console.WriteLine("Fizz"); 13 | else 14 | Console.WriteLine(i.ToString()); 15 | } 16 | -------------------------------------------------------------------------------- /.history/demo_20220608143033.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0) 6 | Console.WriteLine("Fizz Buzz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0) 10 | Console.WriteLine("Fizz"); 11 | else if(i%3 == 0) 12 | Console.WriteLine("Fizz"); 13 | else 14 | Console.WriteLine(i.ToString()); 15 | } 16 | -------------------------------------------------------------------------------- /.history/Team_20220610082124.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer 14 | } -------------------------------------------------------------------------------- /.history/demo_20220608143002.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0) 6 | Console.WriteLine("Fizz Buzz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0) 10 | Console.WriteLine("Fizz"); 11 | else if(i%3 == 0) 12 | Console.WriteLine("Fizz"); 13 | else 14 | Console.WriteLine(i.ToString()); 15 | } 16 | -------------------------------------------------------------------------------- /.history/demo_20220608143024.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0 && i) 6 | Console.WriteLine("Fizz Buzz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0) 10 | Console.WriteLine("Fizz"); 11 | else if(i%3 == 0) 12 | Console.WriteLine("Fizz"); 13 | else 14 | Console.WriteLine(i.ToString()); 15 | } 16 | -------------------------------------------------------------------------------- /.history/demo_20220608143027.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0 && i%) 6 | Console.WriteLine("Fizz Buzz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0) 10 | Console.WriteLine("Fizz"); 11 | else if(i%3 == 0) 12 | Console.WriteLine("Fizz"); 13 | else 14 | Console.WriteLine(i.ToString()); 15 | } 16 | -------------------------------------------------------------------------------- /.history/demo_20220608143028.cs: -------------------------------------------------------------------------------- 1 | 2 | for(int i=1; i<=100; i++) 3 | { 4 | 5 | if(i%3 == 0 && i%5==0 && i%7) 6 | Console.WriteLine("Fizz Buzz"); 7 | else if(i%5==0) 8 | Console.WriteLine("Buzz"); 9 | else if(i%3 == 0) 10 | Console.WriteLine("Fizz"); 11 | else if(i%3 == 0) 12 | Console.WriteLine("Fizz"); 13 | else 14 | Console.WriteLine(i.ToString()); 15 | } 16 | -------------------------------------------------------------------------------- /.history/Team_20220610082126.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayerCount 14 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115311.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | A left rotation operation on an array shifts each of the array's elements unit to the left. For example, if left rotations are performed on array , then the array would become . 4 | 5 | Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115317.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. For example, if left rotations are performed on array , then the array would become . 4 | 5 | Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115325.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. For example, if left rotations are performed on array , then the array would become . 4 | //Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 5 | } -------------------------------------------------------------------------------- /.history/Team_20220610082133.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) 14 | } -------------------------------------------------------------------------------- /.history/demo_20220608213306.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | public bool Palindrome(string input1) 5 | { 6 | string input = input1.ToLower(); 7 | string input2 = ""; 8 | for (int i = input.Length - 1; i >= 0; i--) 9 | { 10 | input2 += input[i]; 11 | } 12 | if (input == input2) 13 | { 14 | return true; 15 | } 16 | else 17 | { 18 | return false; 19 | } 20 | 21 | 22 | } 23 | -------------------------------------------------------------------------------- /.history/Algorithms_20220610115332.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. For example, if left rotations are performed on array , then the array would become . 4 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 5 | 6 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115327.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. For example, if left rotations are performed on array , then the array would become . 4 | //Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 5 | 6 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115335.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. For example, if left rotations are performed on array , then the array would become . 4 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 5 | 6 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115340.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. For example, if left rotations are performed on array , then the array would become . 4 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 5 | 6 | } -------------------------------------------------------------------------------- /obj/project.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "dgSpecHash": "TRnHP9gDWnQ+biAL08uxnD4RRkG4iK1vqO0e4OcrKLveAqlkkeiqq2XxXOVVDQy2Y2Fw3xFZMg7ebc08WtOK5g==", 4 | "success": true, 5 | "projectFilePath": "C:\\Users\\Fazrin\\source\\repos\\CLI-Script-Automations\\CLI-Script-Automations.csproj", 6 | "expectedPackageFiles": [ 7 | "C:\\Users\\Fazrin\\.nuget\\packages\\cliwrap\\3.4.4\\cliwrap.3.4.4.nupkg.sha512" 8 | ], 9 | "logs": [] 10 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115416.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. 4 | // For example, if left rotations are performed on array , then the array would become . 5 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115422.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. 4 | // For example, if left rotations are performed on array , then the array would become . 5 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115424.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. 4 | // For example, if left rotations are performed on array {} , then the array would become . 5 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Program_20220609204557.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "INZAFR")); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Program_20220609204615.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.history/Team_20220610082135.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | 15 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115432.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. 4 | // For example, if left rotations are performed on array {1,2,3,4,5} , then the array would become . 5 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115435.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. 4 | // For example, if left rotations are performed on array {1,2,3,4,5} , then the array would become . 5 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115438.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. 4 | // For example, if left rotations are performed on array {1,2,3,4,5} , then the array would become {} . 5 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115452.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. 4 | // For example, if left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115518.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115526.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115536.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115539.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of n integers and a number, , perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Program_20220609211613.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /CLI-Script-Automations.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | net6.0 6 | CLI_Script_Automations 7 | enable 8 | enable 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.history/Algorithms_20220610115551.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of n integers and a number, ,d perform left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115553.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of n integers and a number, ,d perform d left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115559.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of n integers and a number, d,d perform d left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115600.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of n integers and a number, d, perform d left rotations on the array. Return the updated array to be printed as a single line of space-separated integers. 6 | 7 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115612.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of n integers and a number, d, perform d left rotations on the array. 6 | //Return the updated array to be printed as a single line of space-separated integers. 7 | 8 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115614.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of n integers and a number, d, perform d left rotations on the array. 6 | // Return the updated array to be printed as a single line of space-separated integers. 7 | 8 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115619.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of n integers and a number, d, perform d left rotations on the array. 6 | // Return the updated array to be printed as a single line of space-separated integers. 7 | 8 | 9 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115620.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of n integers and a number, d, perform d left rotations on the array. 6 | // Return the updated array to be printed as a single line of space-separated integers. 7 | 8 | 9 | 10 | } -------------------------------------------------------------------------------- /.history/Team_20220610082137.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | } -------------------------------------------------------------------------------- /.history/demo_20220609125558.cs: -------------------------------------------------------------------------------- 1 | public class Demo 2 | { 3 | 4 | //check if string is a palindrome or not and return boolean value 5 | public static bool IsPalindrome(string str) 6 | { 7 | if (str.Length == 0) 8 | return true; 9 | else if (str.Length == 1) 10 | return true; 11 | else if (str.Length == 2) 12 | return str[0] == str[1]; 13 | else 14 | return str[0] == str[str.Length - 1] && IsPalindrome(str.Substring(1, str.Length - 2)); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.history/demo_20220609171624.cs: -------------------------------------------------------------------------------- 1 | public static class Demo 2 | { 3 | //check if string is a palindrome or not and return boolean value 4 | public static bool IsPalindrome(string str) 5 | { 6 | if (str.Length == 0) 7 | return true; 8 | else if (str.Length == 1) 9 | return true; 10 | else if (str.Length == 2) 11 | return str[0] == str[1]; 12 | else 13 | return str[0] == str[str.Length - 1] && IsPalindrome(str.Substring(1, str.Length - 2)); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /.history/Services_20220609202523.cs: -------------------------------------------------------------------------------- 1 | public class Services 2 | { 3 | public void PrintOddNumbers(int a, int b) 4 | { 5 | for (int i = a; i <= b; i++) 6 | { 7 | if (i % 2 != 0) 8 | { 9 | Console.WriteLine(i); 10 | } 11 | } 12 | } 13 | 14 | public void PrintSum(int a, int b) 15 | { 16 | int sum = 0; 17 | for (int i = a; i <= b; i++) 18 | { 19 | sum += i; 20 | } 21 | Console.WriteLine(sum); 22 | } 23 | } -------------------------------------------------------------------------------- /.history/Team_20220610082139.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /.history/Program_20220609211616.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /.history/Team_20220610082141.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | 20 | } -------------------------------------------------------------------------------- /.history/demo_20220609125642.cs: -------------------------------------------------------------------------------- 1 | public static class Demo 2 | { 3 | 4 | //check if string is a palindrome or not and return boolean value 5 | public static bool IsPalindrome(string str) 6 | { 7 | if (str.Length == 0) 8 | return true; 9 | else if (str.Length == 1) 10 | return true; 11 | else if (str.Length == 2) 12 | return str[0] == str[1]; 13 | else 14 | return str[0] == str[str.Length - 1] && IsPalindrome(str.Substring(1, str.Length - 2)); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.history/demo_20220609171620.cs: -------------------------------------------------------------------------------- 1 | public static class Demo 2 | { 3 | 4 | //check if string is a palindrome or not and return boolean value 5 | public static bool IsPalindrome(string str) 6 | { 7 | if (str.Length == 0) 8 | return true; 9 | else if (str.Length == 1) 10 | return true; 11 | else if (str.Length == 2) 12 | return str[0] == str[1]; 13 | else 14 | return str[0] == str[str.Length - 1] && IsPalindrome(str.Substring(1, str.Length - 2)); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.history/demo_20220609171621.cs: -------------------------------------------------------------------------------- 1 | public static class Demo 2 | { 3 | 4 | //check if string is a palindrome or not and return boolean value 5 | public static bool IsPalindrome(string str) 6 | { 7 | if (str.Length == 0) 8 | return true; 9 | else if (str.Length == 1) 10 | return true; 11 | else if (str.Length == 2) 12 | return str[0] == str[1]; 13 | else 14 | return str[0] == str[str.Length - 1] && IsPalindrome(str.Substring(1, str.Length - 2)); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.history/Program_20220609221504.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /.history/demo_20220609125502.cs: -------------------------------------------------------------------------------- 1 | public class Demo 2 | { 3 | 4 | //check if string is a palindrome or not and return boolean value 5 | public static bool IsPalindrome(string str) 6 | { 7 | if (str.Length == 0) 8 | return true; 9 | else if (str.Length == 1) 10 | return true; 11 | else if (str.Length == 2) 12 | return str[0] == str[1]; 13 | else 14 | return str[0] == str[str.Length - 1] && IsPalindrome(str.Substring(1, str.Length - 2)); 15 | } 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/CLI-Script-Automations.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- 1 | is_global = true 2 | build_property.TargetFramework = net6.0 3 | build_property.TargetPlatformMinVersion = 4 | build_property.UsingMicrosoftNETSdkWeb = 5 | build_property.ProjectTypeGuids = 6 | build_property.InvariantGlobalization = 7 | build_property.PlatformNeutralAssembly = 8 | build_property._SupportedPlatformList = Linux,macOS,Windows 9 | build_property.RootNamespace = CLI_Script_Automations 10 | build_property.ProjectDir = c:\Users\Fazrin\source\repos\CLI-Script-Automations\ 11 | -------------------------------------------------------------------------------- /.history/Program_20220609211619.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /.history/Program_20220609221510.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /.history/Program_20220609221511.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 10; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /.history/Program_20220609211621.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 10; 15 | 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /.history/Program_20220609221515.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /.history/Team_20220610082143.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. 20 | 21 | } -------------------------------------------------------------------------------- /.history/Team_20220610082200.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. 20 | 21 | 22 | } -------------------------------------------------------------------------------- /.history/Team_20220610082206.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. 20 | 21 | 22 | } -------------------------------------------------------------------------------- /.history/demo_20220609171616.cs: -------------------------------------------------------------------------------- 1 | public static class NewBaseType 2 | { 3 | 4 | //check if string is a palindrome or not and return boolean value 5 | public static bool IsPalindrome(string str) 6 | { 7 | if (str.Length == 0) 8 | return true; 9 | else if (str.Length == 1) 10 | return true; 11 | else if (str.Length == 2) 12 | return str[0] == str[1]; 13 | else 14 | return str[0] == str[str.Length - 1] && IsPalindrome(str.Substring(1, str.Length - 2)); 15 | } 16 | } 17 | 18 | public static class Demo : NewBaseType 19 | { 20 | } 21 | -------------------------------------------------------------------------------- /.history/Program_20220609211623.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 10; 15 | int b = 20; 16 | 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /.history/Program_20220609221517.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /.history/Program_20220609221525.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services. 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /.history/Program_20220609221530.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /.history/Team_20220610082213.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer 20 | 21 | 22 | } -------------------------------------------------------------------------------- /.history/Program_20220609221532.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap() 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /.history/Team_20220610082219.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count 20 | 21 | 22 | } -------------------------------------------------------------------------------- /.history/Services_20220609203011.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | } -------------------------------------------------------------------------------- /.history/Services_20220609203015.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | } -------------------------------------------------------------------------------- /.history/Program_20220609221533.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /.history/Team_20220610082220.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. 20 | 21 | 22 | } -------------------------------------------------------------------------------- /.history/Team_20220610082233.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. an 20 | 21 | 22 | } -------------------------------------------------------------------------------- /.history/Team_20220610082234.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. and 20 | 21 | 22 | } -------------------------------------------------------------------------------- /.history/Services_20220609204324.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | 25 | } -------------------------------------------------------------------------------- /.history/Services_20220609204332.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // 25 | } -------------------------------------------------------------------------------- /.history/Program_20220609221549.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /.history/Services_20220609204337.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort 25 | } -------------------------------------------------------------------------------- /.history/Services_20220609204344.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort a 25 | } -------------------------------------------------------------------------------- /.history/Services_20220609204348.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort an string 25 | } -------------------------------------------------------------------------------- /.history/Services_20220609204358.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort an string input 25 | } -------------------------------------------------------------------------------- /.history/Services_20220609204403.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort an string input alp 25 | } -------------------------------------------------------------------------------- /.history/Program_20220609211626.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 10; 15 | int b = 20; 16 | Console.WriteLine("Before swap: a = {0}, b = {1}", a, b); 17 | 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /.history/Services_20220609204405.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort an string input alphabetically. 25 | } -------------------------------------------------------------------------------- /.history/Team_20220610082145.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. 20 | public void RemovePlayer(int count) 21 | { 22 | noOfPlayers -= count; 23 | } 24 | } -------------------------------------------------------------------------------- /.history/Program_20220609202204.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | var result = await Cli.Wrap("dotnet") 12 | .WithArguments("--version") 13 | .ExecuteBufferedAsync(); 14 | 15 | var version = result.StandardOutput.Trim(); 16 | Print($"dotnet version: {version}"); 17 | 18 | var pal = GetPal(); 19 | Print(pal.ToString()); 20 | Read(); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /.history/Program_20220609202200.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using CliWrap; 3 | using CliWrap.Buffered; 4 | 5 | namespace CLI_Script_Automations 6 | { 7 | internal class Program 8 | { 9 | static async Task Main(string[] args) 10 | { 11 | var result = await Cli.Wrap("dotnet") 12 | .WithArguments("--version") 13 | .ExecuteBufferedAsync(); 14 | 15 | var version = result.StandardOutput.Trim(); 16 | Print($"dotnet version: {version}"); 17 | 18 | var pal = GetPal(); 19 | Print(pal.ToString()); 20 | Read(); 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /.history/Services_20220609204406.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort an string input alphabetically. 25 | 26 | } -------------------------------------------------------------------------------- /.history/Team_20220610082149.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. 20 | public void RemovePlayer(int count) 21 | { 22 | noOfPlayers -= count; 23 | } 24 | 25 | } -------------------------------------------------------------------------------- /.history/Team_20220610082239.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. and removes count number of players from the team. 20 | //if 21 | 22 | 23 | } -------------------------------------------------------------------------------- /.history/Program_20220609211628.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 10; 15 | int b = 20; 16 | Console.WriteLine("Before swap: a = {0}, b = {1}", a, b); 17 | a = a + b; 18 | 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /.history/Program_20220609221552.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /.history/Program_20220609221554.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /.history/Program_20220609221645.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | //Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /.history/Team_20220610082246.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. and removes count number of players from the team. 20 | //if decreasing makes 21 | 22 | 23 | } -------------------------------------------------------------------------------- /.history/Program_20220609221800.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | //Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 18 | 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /.history/Program_20220609211629.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 10; 15 | int b = 20; 16 | Console.WriteLine("Before swap: a = {0}, b = {1}", a, b); 17 | a = a + b; 18 | b = a - b; 19 | 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /.history/Program_20220609221803.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | //Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 18 | 19 | 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /.history/Program_20220609211631.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 10; 15 | int b = 20; 16 | Console.WriteLine("Before swap: a = {0}, b = {1}", a, b); 17 | a = a + b; 18 | b = a - b; 19 | a = a - b; 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /.history/Team_20220610082257.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. and removes count number of players from the team. 20 | //if decreasing makes noOfPlayers negative, then 21 | 22 | 23 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115646.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of n integers and a number, d, perform d left rotations on the array. 6 | // Return the updated array to be printed as a single line of space-separated integers. 7 | 8 | public static int[] LeftRotation(int[] a, int d) 9 | { 10 | int[] result = new int[a.Length]; 11 | for (int i = 0; i < a.Length; i++) 12 | { 13 | result[(i + d) % a.Length] = a[i]; 14 | } 15 | return result; 16 | } 17 | } -------------------------------------------------------------------------------- /.history/Team_20220610082306.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. and removes count number of players from the team. 20 | //if decreasing makes noOfPlayers negative, then this m 21 | 22 | 23 | } -------------------------------------------------------------------------------- /.history/Algorithms_20220610115634.cs: -------------------------------------------------------------------------------- 1 | public static class Algorithms 2 | { 3 | // A left rotation operation on an array shifts each of the array's elements 1 unit to the left. 4 | // For example, if 2 left rotations are performed on array {1,2,3,4,5} , then the array would become {3,4,5,1,2} . 5 | // Given an array a of n integers and a number, d, perform d left rotations on the array. 6 | // Return the updated array to be printed as a single line of space-separated integers. 7 | 8 | public static int[] LeftRotation(int[] a, int d) 9 | { 10 | int[] result = new int[a.Length]; 11 | for (int i = 0; i < a.Length; i++) 12 | { 13 | result[(i + d) % a.Length] = a[i]; 14 | } 15 | return result; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /.history/Program_20220609211633.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 10; 15 | int b = 20; 16 | Console.WriteLine("Before swap: a = {0}, b = {1}", a, b); 17 | a = a + b; 18 | b = a - b; 19 | a = a - b; 20 | 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /.history/Team_20220610082253.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. and removes count number of players from the team. 20 | //if decreasing makes noOfPlayers negative, then noOfPlayers should be set to 0. 21 | 22 | 23 | } -------------------------------------------------------------------------------- /.history/Team_20220610082313.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. and removes count number of players from the team. 20 | //if decreasing makes noOfPlayers negative, then this method should return false; 21 | 22 | 23 | } -------------------------------------------------------------------------------- /.history/Program_20220609221805.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | //Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 18 | 19 | //Check if a number is prime or not. 20 | 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /.history/Team_20220610082321.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. and removes count number of players from the team. 20 | //if decreasing makes noOfPlayers negative, then this method should return false; else 21 | 22 | 23 | } -------------------------------------------------------------------------------- /.history/Team_20220610082324.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. and removes count number of players from the team. 20 | //if decreasing makes noOfPlayers negative, then this method should return false; else de 21 | 22 | 23 | } -------------------------------------------------------------------------------- /.history/Program_20220609221806.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | //Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 18 | 19 | //Check if a number is prime or not. 20 | Console.WriteLine(IsPrime(7)); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /.history/Program_20220609221807.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | //Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 18 | 19 | //Check if a number is prime or not. 20 | Console.WriteLine(IsPrime(7)); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /.history/Program_20220609211635.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | // Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 10; 15 | int b = 20; 16 | Console.WriteLine("Before swap: a = {0}, b = {1}", a, b); 17 | a = a + b; 18 | b = a - b; 19 | a = a - b; 20 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /.history/Program_20220609221813.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | //Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 18 | 19 | //Check if a number is prime or not. 20 | Console.WriteLine(IsPrime(17)); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /.history/Program_20220609221841.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | //Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 18 | 19 | //Check if a number is prime or not. 20 | Console.WriteLine(IsPrime(15)); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /.history/Program_20220609223105.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | 10 | 11 | Console.WriteLine(ReverseString("FAZRIN")); 12 | Console.WriteLine(SortString("FAZRIN")); 13 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 14 | 15 | //Let's see a simple C# example to swap two numbers without using third variable. 16 | int a = 100; 17 | int b = 200; 18 | Services.Swap(ref a, ref b); 19 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 20 | 21 | //Check if a number is prime or not. 22 | Console.WriteLine(IsPrime(15)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /.history/Program_20220609223109.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | 9 | 10 | //PrintSum(1, 3); 11 | Console.WriteLine(ReverseString("FAZRIN")); 12 | Console.WriteLine(SortString("FAZRIN")); 13 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 14 | 15 | //Let's see a simple C# example to swap two numbers without using third variable. 16 | int a = 100; 17 | int b = 200; 18 | Services.Swap(ref a, ref b); 19 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 20 | 21 | //Check if a number is prime or not. 22 | Console.WriteLine(IsPrime(15)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /.history/Program_20220609223114.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | 9 | 10 | //PrintSum(1, 3); 11 | Console.WriteLine(ReverseString("FAZRIN")); 12 | Console.WriteLine(SortString("FAZRIN")); 13 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 14 | 15 | //Let's see a simple C# example to swap two numbers without using third variable. 16 | int a = 100; 17 | int b = 200; 18 | Services.Swap(ref a, ref b); 19 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 20 | 21 | //Check if a number is prime or not. 22 | Console.WriteLine(IsPrime(15)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /.history/Program_20220609223118.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] 9 | 10 | //PrintSum(1, 3); 11 | Console.WriteLine(ReverseString("FAZRIN")); 12 | Console.WriteLine(SortString("FAZRIN")); 13 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 14 | 15 | //Let's see a simple C# example to swap two numbers without using third variable. 16 | int a = 100; 17 | int b = 200; 18 | Services.Swap(ref a, ref b); 19 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 20 | 21 | //Check if a number is prime or not. 22 | Console.WriteLine(IsPrime(15)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /.history/Team_20220610082326.cs: -------------------------------------------------------------------------------- 1 | //Create a class team with teamName string, and noOfPlayers int. 2 | public class team 3 | { 4 | public string teamName { get; set; } 5 | public int noOfPlayers { get; set; } 6 | 7 | public team(string teamName, int noOfPlayers) 8 | { 9 | this.teamName = teamName; 10 | this.noOfPlayers = noOfPlayers; 11 | } 12 | 13 | //member function to AddPlayer(count) to the team. 14 | public void AddPlayer(int count) 15 | { 16 | noOfPlayers += count; 17 | } 18 | 19 | //member function to RemovePlayer(count) to the team. it takes integer count as parameter. and removes count number of players from the team. 20 | //if decreasing makes noOfPlayers negative, then this method should return false; else decrease noOfPlayers by count and return true. 21 | 22 | 23 | 24 | 25 | } -------------------------------------------------------------------------------- /.history/Program_20220609223123.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {} 9 | 10 | //PrintSum(1, 3); 11 | Console.WriteLine(ReverseString("FAZRIN")); 12 | Console.WriteLine(SortString("FAZRIN")); 13 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 14 | 15 | //Let's see a simple C# example to swap two numbers without using third variable. 16 | int a = 100; 17 | int b = 200; 18 | Services.Swap(ref a, ref b); 19 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 20 | 21 | //Check if a number is prime or not. 22 | Console.WriteLine(IsPrime(15)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /.history/Program_20220609221836.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | //PrintSum(1, 3); 9 | Console.WriteLine(ReverseString("FAZRIN")); 10 | Console.WriteLine(SortString("FAZRIN")); 11 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 12 | 13 | //Let's see a simple C# example to swap two numbers without using third variable. 14 | int a = 100; 15 | int b = 200; 16 | Services.Swap(ref a, ref b); 17 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 18 | 19 | //Check if a number is prime or not. 20 | Console.WriteLine(IsPrime(15)); 21 | Console.WriteLine(IsPrime(15)); 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /.history/Program_20220609223124.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9} 9 | 10 | //PrintSum(1, 3); 11 | Console.WriteLine(ReverseString("FAZRIN")); 12 | Console.WriteLine(SortString("FAZRIN")); 13 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 14 | 15 | //Let's see a simple C# example to swap two numbers without using third variable. 16 | int a = 100; 17 | int b = 200; 18 | Services.Swap(ref a, ref b); 19 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 20 | 21 | //Check if a number is prime or not. 22 | Console.WriteLine(IsPrime(15)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /.history/Program_20220609223127.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | 10 | //PrintSum(1, 3); 11 | Console.WriteLine(ReverseString("FAZRIN")); 12 | Console.WriteLine(SortString("FAZRIN")); 13 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 14 | 15 | //Let's see a simple C# example to swap two numbers without using third variable. 16 | int a = 100; 17 | int b = 200; 18 | Services.Swap(ref a, ref b); 19 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 20 | 21 | //Check if a number is prime or not. 22 | Console.WriteLine(IsPrime(15)); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /.history/Services_20220609204409.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort an string input alphabetically. 25 | public static string SortString(string str) 26 | { 27 | char[] charArray = str.ToCharArray(); 28 | Array.Sort(charArray); 29 | return new string(charArray); 30 | } 31 | } -------------------------------------------------------------------------------- /.history/Program_20220609223129.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | 10 | 11 | //PrintSum(1, 3); 12 | Console.WriteLine(ReverseString("FAZRIN")); 13 | Console.WriteLine(SortString("FAZRIN")); 14 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 15 | 16 | //Let's see a simple C# example to swap two numbers without using third variable. 17 | int a = 100; 18 | int b = 200; 19 | Services.Swap(ref a, ref b); 20 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 21 | 22 | //Check if a number is prime or not. 23 | Console.WriteLine(IsPrime(15)); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /.history/Program_20220609223138.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | 10 | 11 | //PrintSum(1, 3); 12 | Console.WriteLine(ReverseString("FAZRIN")); 13 | Console.WriteLine(SortString("FAZRIN")); 14 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 15 | 16 | //Let's see a simple C# example to swap two numbers without using third variable. 17 | int a = 100; 18 | int b = 200; 19 | Services.Swap(ref a, ref b); 20 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 21 | 22 | //Check if a number is prime or not. 23 | Console.WriteLine(IsPrime(15)); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /.history/Program_20220609223954.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9}; 9 | 10 | 11 | 12 | //PrintSum(1, 3); 13 | Console.WriteLine(ReverseString("FAZRIN")); 14 | Console.WriteLine(SortString("FAZRIN")); 15 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 16 | 17 | //Let's see a simple C# example to swap two numbers without using third variable. 18 | int a = 100; 19 | int b = 200; 20 | Services.Swap(ref a, ref b); 21 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 22 | 23 | //Check if a number is prime or not. 24 | Console.WriteLine(IsPrime(15)); 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /.history/Program_20220609223143.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | Console.WriteLine(Ser); 10 | 11 | //PrintSum(1, 3); 12 | Console.WriteLine(ReverseString("FAZRIN")); 13 | Console.WriteLine(SortString("FAZRIN")); 14 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 15 | 16 | //Let's see a simple C# example to swap two numbers without using third variable. 17 | int a = 100; 18 | int b = 200; 19 | Services.Swap(ref a, ref b); 20 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 21 | 22 | //Check if a number is prime or not. 23 | Console.WriteLine(IsPrime(15)); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /.history/Program_20220609223958.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9}; 9 | 10 | Services.CreateStack 11 | 12 | //PrintSum(1, 3); 13 | Console.WriteLine(ReverseString("FAZRIN")); 14 | Console.WriteLine(SortString("FAZRIN")); 15 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 16 | 17 | //Let's see a simple C# example to swap two numbers without using third variable. 18 | int a = 100; 19 | int b = 200; 20 | Services.Swap(ref a, ref b); 21 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 22 | 23 | //Check if a number is prime or not. 24 | Console.WriteLine(IsPrime(15)); 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /.history/Program_20220609223211.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | Console.WriteLine(); 10 | 11 | 12 | //PrintSum(1, 3); 13 | Console.WriteLine(ReverseString("FAZRIN")); 14 | Console.WriteLine(SortString("FAZRIN")); 15 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 16 | 17 | //Let's see a simple C# example to swap two numbers without using third variable. 18 | int a = 100; 19 | int b = 200; 20 | Services.Swap(ref a, ref b); 21 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 22 | 23 | //Check if a number is prime or not. 24 | Console.WriteLine(IsPrime(15)); 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /.history/Program_20220609223146.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | Console.WriteLine(Services.); 10 | 11 | //PrintSum(1, 3); 12 | Console.WriteLine(ReverseString("FAZRIN")); 13 | Console.WriteLine(SortString("FAZRIN")); 14 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 15 | 16 | //Let's see a simple C# example to swap two numbers without using third variable. 17 | int a = 100; 18 | int b = 200; 19 | Services.Swap(ref a, ref b); 20 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 21 | 22 | //Check if a number is prime or not. 23 | Console.WriteLine(IsPrime(15)); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /.history/Program_20220609224000.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9}; 9 | 10 | Services.CreateStack(numbers); 11 | 12 | //PrintSum(1, 3); 13 | Console.WriteLine(ReverseString("FAZRIN")); 14 | Console.WriteLine(SortString("FAZRIN")); 15 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 16 | 17 | //Let's see a simple C# example to swap two numbers without using third variable. 18 | int a = 100; 19 | int b = 200; 20 | Services.Swap(ref a, ref b); 21 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 22 | 23 | //Check if a number is prime or not. 24 | Console.WriteLine(IsPrime(15)); 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /.history/Program_20220609224003.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9}; 9 | 10 | Services.CreateStack(numbers); 11 | 12 | //PrintSum(1, 3); 13 | Console.WriteLine(ReverseString("FAZRIN")); 14 | Console.WriteLine(SortString("FAZRIN")); 15 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 16 | 17 | //Let's see a simple C# example to swap two numbers without using third variable. 18 | int a = 100; 19 | int b = 200; 20 | Services.Swap(ref a, ref b); 21 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 22 | 23 | //Check if a number is prime or not. 24 | Console.WriteLine(IsPrime(15)); 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /.history/Program_20220609223131.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | Console.WriteLine("Before sorting: "); 10 | 11 | //PrintSum(1, 3); 12 | Console.WriteLine(ReverseString("FAZRIN")); 13 | Console.WriteLine(SortString("FAZRIN")); 14 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 15 | 16 | //Let's see a simple C# example to swap two numbers without using third variable. 17 | int a = 100; 18 | int b = 200; 19 | Services.Swap(ref a, ref b); 20 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 21 | 22 | //Check if a number is prime or not. 23 | Console.WriteLine(IsPrime(15)); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /.history/Program_20220609223140.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | Console.WriteLine("Before sorting: "); 10 | 11 | //PrintSum(1, 3); 12 | Console.WriteLine(ReverseString("FAZRIN")); 13 | Console.WriteLine(SortString("FAZRIN")); 14 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 15 | 16 | //Let's see a simple C# example to swap two numbers without using third variable. 17 | int a = 100; 18 | int b = 200; 19 | Services.Swap(ref a, ref b); 20 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 21 | 22 | //Check if a number is prime or not. 23 | Console.WriteLine(IsPrime(15)); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /.history/Services_20220609204517.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort an string input alphabetically. 25 | public static string SortString(string str) 26 | { 27 | char[] charArray = str.ToCharArray(); 28 | Array.Sort(charArray); 29 | return new string(charArray); 30 | } 31 | 32 | //Check two strings are angram 33 | } -------------------------------------------------------------------------------- /.history/Services_20220609204519.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort an string input alphabetically. 25 | public static string SortString(string str) 26 | { 27 | char[] charArray = str.ToCharArray(); 28 | Array.Sort(charArray); 29 | return new string(charArray); 30 | } 31 | 32 | //Check two strings are anagram 33 | } -------------------------------------------------------------------------------- /.history/Services_20220609204520.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort an string input alphabetically. 25 | public static string SortString(string str) 26 | { 27 | char[] charArray = str.ToCharArray(); 28 | Array.Sort(charArray); 29 | return new string(charArray); 30 | } 31 | 32 | //Check two strings are anagram 33 | } -------------------------------------------------------------------------------- /.history/Program_20220609224010.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9}; 9 | 10 | var stack = Services.CreateStack(numbers); 11 | 12 | //PrintSum(1, 3); 13 | Console.WriteLine(ReverseString("FAZRIN")); 14 | Console.WriteLine(SortString("FAZRIN")); 15 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 16 | 17 | //Let's see a simple C# example to swap two numbers without using third variable. 18 | int a = 100; 19 | int b = 200; 20 | Services.Swap(ref a, ref b); 21 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 22 | 23 | //Check if a number is prime or not. 24 | Console.WriteLine(IsPrime(15)); 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /.history/Program_20220609224012.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9}; 9 | 10 | var stack = Services.CreateStack(numbers); 11 | 12 | 13 | //PrintSum(1, 3); 14 | Console.WriteLine(ReverseString("FAZRIN")); 15 | Console.WriteLine(SortString("FAZRIN")); 16 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 17 | 18 | //Let's see a simple C# example to swap two numbers without using third variable. 19 | int a = 100; 20 | int b = 200; 21 | Services.Swap(ref a, ref b); 22 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 23 | 24 | //Check if a number is prime or not. 25 | Console.WriteLine(IsPrime(15)); 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /.history/Program_20220609223158.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | Console.WriteLine(Services.PreviousSmallerElement); 10 | 11 | //PrintSum(1, 3); 12 | Console.WriteLine(ReverseString("FAZRIN")); 13 | Console.WriteLine(SortString("FAZRIN")); 14 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 15 | 16 | //Let's see a simple C# example to swap two numbers without using third variable. 17 | int a = 100; 18 | int b = 200; 19 | Services.Swap(ref a, ref b); 20 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 21 | 22 | //Check if a number is prime or not. 23 | Console.WriteLine(IsPrime(15)); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /.history/Program_20220609223159.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | Console.WriteLine(Services.PreviousSmallerElement()); 10 | 11 | //PrintSum(1, 3); 12 | Console.WriteLine(ReverseString("FAZRIN")); 13 | Console.WriteLine(SortString("FAZRIN")); 14 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 15 | 16 | //Let's see a simple C# example to swap two numbers without using third variable. 17 | int a = 100; 18 | int b = 200; 19 | Services.Swap(ref a, ref b); 20 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 21 | 22 | //Check if a number is prime or not. 23 | Console.WriteLine(IsPrime(15)); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /.history/Program_20220609223213.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | 10 | 11 | Console.WriteLine(); 12 | 13 | 14 | //PrintSum(1, 3); 15 | Console.WriteLine(ReverseString("FAZRIN")); 16 | Console.WriteLine(SortString("FAZRIN")); 17 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 18 | 19 | //Let's see a simple C# example to swap two numbers without using third variable. 20 | int a = 100; 21 | int b = 200; 22 | Services.Swap(ref a, ref b); 23 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 24 | 25 | //Check if a number is prime or not. 26 | Console.WriteLine(IsPrime(15)); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /.history/Services_20220609204522.cs: -------------------------------------------------------------------------------- 1 | public static class Services 2 | { 3 | public static void PrintSum(int a, int b) 4 | { 5 | int sum = 0; 6 | for (int i = a; i <= b; i++) 7 | { 8 | sum += i; 9 | } 10 | Console.WriteLine(sum); 11 | } 12 | 13 | // Create a method that takes a string and returns the string in reversed order. 14 | public static string ReverseString(string str) 15 | { 16 | string reversed = ""; 17 | for (int i = str.Length - 1; i >= 0; i--) 18 | { 19 | reversed += str[i]; 20 | } 21 | return reversed; 22 | } 23 | 24 | // Sort an string input alphabetically. 25 | public static string SortString(string str) 26 | { 27 | char[] charArray = str.ToCharArray(); 28 | Array.Sort(charArray); 29 | return new string(charArray); 30 | } 31 | 32 | //Check two strings are anagram or not. 33 | 34 | } -------------------------------------------------------------------------------- /.history/Program_20220609223202.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | Console.WriteLine(Services.PreviousSmallerElement(numbers)); 10 | 11 | //PrintSum(1, 3); 12 | Console.WriteLine(ReverseString("FAZRIN")); 13 | Console.WriteLine(SortString("FAZRIN")); 14 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 15 | 16 | //Let's see a simple C# example to swap two numbers without using third variable. 17 | int a = 100; 18 | int b = 200; 19 | Services.Swap(ref a, ref b); 20 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 21 | 22 | //Check if a number is prime or not. 23 | Console.WriteLine(IsPrime(15)); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /.history/Program_20220609224017.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9}; 9 | 10 | var stack = Services.CreateStack(numbers); 11 | 12 | 13 | 14 | //PrintSum(1, 3); 15 | Console.WriteLine(ReverseString("FAZRIN")); 16 | Console.WriteLine(SortString("FAZRIN")); 17 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 18 | 19 | //Let's see a simple C# example to swap two numbers without using third variable. 20 | int a = 100; 21 | int b = 200; 22 | Services.Swap(ref a, ref b); 23 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 24 | 25 | //Check if a number is prime or not. 26 | Console.WriteLine(IsPrime(15)); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /.history/Program_20220609224028.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9}; 9 | 10 | var stack = Services.CreateStack(numbers); 11 | 12 | 13 | 14 | //PrintSum(1, 3); 15 | Console.WriteLine(ReverseString("FAZRIN")); 16 | Console.WriteLine(SortString("FAZRIN")); 17 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 18 | 19 | //Let's see a simple C# example to swap two numbers without using third variable. 20 | int a = 100; 21 | int b = 200; 22 | Services.Swap(ref a, ref b); 23 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 24 | 25 | //Check if a number is prime or not. 26 | Console.WriteLine(IsPrime(15)); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /.history/Program_20220609224029.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9}; 9 | 10 | var stack = Services.CreateStack(numbers); 11 | for 12 | 13 | 14 | //PrintSum(1, 3); 15 | Console.WriteLine(ReverseString("FAZRIN")); 16 | Console.WriteLine(SortString("FAZRIN")); 17 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 18 | 19 | //Let's see a simple C# example to swap two numbers without using third variable. 20 | int a = 100; 21 | int b = 200; 22 | Services.Swap(ref a, ref b); 23 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 24 | 25 | //Check if a number is prime or not. 26 | Console.WriteLine(IsPrime(15)); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /.history/Program_20220609224031.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9}; 9 | 10 | var stack = Services.CreateStack(numbers); 11 | foreach 12 | 13 | 14 | //PrintSum(1, 3); 15 | Console.WriteLine(ReverseString("FAZRIN")); 16 | Console.WriteLine(SortString("FAZRIN")); 17 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 18 | 19 | //Let's see a simple C# example to swap two numbers without using third variable. 20 | int a = 100; 21 | int b = 200; 22 | Services.Swap(ref a, ref b); 23 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 24 | 25 | //Check if a number is prime or not. 26 | Console.WriteLine(IsPrime(15)); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /.history/Program_20220609223204.cs: -------------------------------------------------------------------------------- 1 | using static Services; 2 | namespace CLI_Script_Automations 3 | { 4 | internal class Program 5 | { 6 | static async Task Main(string[] args) 7 | { 8 | int[] numbers = {2, 5, 3, 7, 8, 1, 9, 4, 6}; 9 | Console.WriteLine(Services.PreviousSmallerElement(numbers)); 10 | 11 | 12 | //PrintSum(1, 3); 13 | Console.WriteLine(ReverseString("FAZRIN")); 14 | Console.WriteLine(SortString("FAZRIN")); 15 | Console.WriteLine(IsAnagram("FAZRIN", "NIRZAF")); 16 | 17 | //Let's see a simple C# example to swap two numbers without using third variable. 18 | int a = 100; 19 | int b = 200; 20 | Services.Swap(ref a, ref b); 21 | Console.WriteLine("After swap: a = {0}, b = {1}", a, b); 22 | 23 | //Check if a number is prime or not. 24 | Console.WriteLine(IsPrime(15)); 25 | } 26 | } 27 | } --------------------------------------------------------------------------------