Skip to main content
snippets
S
nippets
C#
Snippets
Date
•
Title
Write Byte Array to File
C#
2 years ago
bytes
csharp
file
filestream
helpers
stream
utils
ASP.NET Same Site Cookie Samples
C#
3 years ago
aspnet
cookie
csharp
examples
In-memory Queue Console Logger
C#
3 years ago
blockingcollection
console
logger
logging
queue
threading
threadsafe
IConfiguration Extensions
C#
3 years ago
configuration
csharp
extensions
iconfiguration
Get Random Unused TCP Port
C#
3 years ago
csharp
network
port
tcp
C# Fixed Size Queue
C#
3 years ago
csharp
examples
fixed-size-queue
queue
threading
C# Tuple Cheatsheet
C#
3 years ago
cheatsheets
csharp
examples
tuple
C# Generate Secure Random Integer
C#
3 years ago
csharp
number
random
rngcryptoserviceprovider
secure
C# Slug Generator
C#
3 years ago
csharp
extensions
generator
slug
string
text
uri
Retrieve Environment Variable Helper
C#
3 years ago
csharp
env
environment
environment-variable
helpers
utils
windows
Remove Invalid XML Characters
C#
3 years ago
character
csharp
sanitize
string
validation
xml
C# Async Retry Operation Helper
C#
3 years ago
async
csharp
exception
helpers
retry
task
C# Punycode Encoder
C#
3 years ago
csharp
dns
domain
encoding
punycode
slug
url
Simple Model Mapper
C#
3 years ago
class
csharp
entityframework
mappings
model
properties
Determining Active Directory Domain Policies
C#
3 years ago
activedirectory
csharp
directory-services
domain
ldap
security
Using LDAP Search to Retrieve a User's Token Groups
C#
3 years ago
activedirectory
csharp
group
identity
ldap
performance
tokengroups
C# Circular Buffer
C#
3 years ago
buffer
circular-buffer
csharp
threading
C# Concurrent HashSet
C#
3 years ago
collection
concurrency
csharp
generic
hashset
threading
C# Generic Read-only Dictionary
C#
3 years ago
collection
csharp
dictionary
generic
read-only
C# StopWatch Implementation for Performance Testing
C#
3 years ago
benchmark
csharp
performance
stopwatch
«
1
2
3
4
5
6
7
»
Last
More »