Skip to main content
snippets
S
nippets
tag:
csharp
Convert Byte Array to Hex String
C#
5 months ago
convert
csharp
hex
Replace Invalid File Name Characters in C#
C#
5 months ago
character
csharp
filename
sanitize
Generate a Random Time Interval
C#
6 months ago
csharp
interval
jitter
random
schedule
stagger
timespan
Merge Dictionaries
C#
6 months ago
csharp
dictionary
helpers
merge
utils
Strip HTML Tags from String in C#
C#
8 months ago
csharp
decode
encode
html
sanitize
security
strip
tags
C# Clamp Integer Values
C#
8 months ago
clamp
csharp
extensions
integer
Async Waiting Inside C# Locks
C#
9 months ago
async
csharp
examples
lock
semaphoreslim
threading
C# Password Hasher
C#
9 months ago
csharp
hash
identity
password
security
How Serialize and Deserialize Objects with System.Text.Json
C#
10 months ago
csharp
deserialize
examples
json
microsoft
serialize
ASP.NET Async Generic Host Example
C#
10 months ago
async
csharp
examples
generic-host
Get Command Output in C#
C#
10 months ago
csharp
process
processstartinfo
Escape and Unescape XML Strings
C#
10 months ago
csharp
escape
helpers
sanitize
xml
C# XML Without Declaration and Namespace
C#
10 months ago
csharp
helpers
namespace
object
serialize
xml
Display Human Readable File Size
C#
1 year ago
bytes
csharp
format
humanize
size
HTTP Security Headers Middleware
C#
1 year ago
aspnet
async
csharp
csp
headers
middleware
security
Short GUID
C#
1 year ago
base64
csharp
guid
id
Random Password Generator
C#
2 years ago
csharp
generator
password
random
Check IP Address in CIDR Range
C#
2 years ago
cidr
csharp
ip
ip-address
network
Calculate Mean, Median, and Mode in C#
C#
2 years ago
algorithm
average
calculate
calculations
csharp
dotnet
examples
math
mean
median
mode
HTTP Retry With Exponential Backoff
C#
2 years ago
api
csharp
exponential
http
microservices
retry
«
1
2
3
4
5
6
7
»
Last
More »