public class SomeThingSomething
{
public string Name { get; set; } = "";
public Dictionary<SomeEnum, SomeDetail> SomeDict { get; set; } = new();
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "AC": "+247-####", | |
| "AD": "+376-###-###", | |
| "AE": "+971-5#-###-####", | |
| "AE": "+971-#-###-####", | |
| "AF": "+93-##-###-####", | |
| "AG": "+1(268)###-####", | |
| "AI": "+1(264)###-####", | |
| "AL": "+355(###)###-###", | |
| "AM": "+374-##-###-###", |
public bool TryParseDirectoryPath(string pathtoValidate, [NotNullWhen(true)] out string? validDirectoryPath)c:\users\*your your profile name* and creating a .wslconfig
[wsl2]
memory=4GB # Limits VM memory in WSL 2 to 4 GB
processors=5 # Makes the WSL 2 VM use two virtual processors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| If (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) | |
| { | |
| $arguments = "& '" + $myinvocation.mycommand.definition + "'" | |
| Start-Process powershell -Verb runAs -ArgumentList $arguments | |
| Break | |
| } | |
| $cert = New-SelfSignedCertificate -DnsName "localhost", "localhost" -CertStoreLocation "cert:\LocalMachine\My" -NotAfter (Get-Date).AddYears(5) | |
| $thumb = $cert.GetCertHashString() |