Skip to main content
snippets
S
nippets
C#
Snippets
Date
•
Title
String Builder Cache Class
C#
7 years ago
cache
class
csharp
dotnet
performance
string
stringbuilder
threading
Execute an Operation with Exponential Back-off
C#
7 years ago
action
class
csharp
dotnet
exception
exponential
task
threading
Time an Action in C#
C#
7 years ago
benchmark
csharp
dotnet
helpers
performance
time
Console Table Formatter
C#
7 years ago
ansi
console
csharp
dotnet
format
helpers
output
table
Remove Special Characters
C#
7 years ago
character
csharp
dotnet
extensions
sanitize
string
To Name Value Collection Extension
C#
7 years ago
collection
config
csharp
extensions
namevaluecollection
settings
String Equals Any Extension Method
C#
7 years ago
array
csharp
dotnet
extensions
search
string
Pluralize Word
C#
7 years ago
csharp
dotnet
extensions
helpers
plural
string
Set All Properties to Default Values
C#
7 years ago
csharp
default
dotnet
extensions
object
reflection
type
Hash Message Examples in C#
C#
7 years ago
algorithm
csharp
dotnet
examples
hash
hashalgorithm
security
sha256
Using the Thread-safe ConcurrentQueue Collection
C#
7 years ago
concurrency
concurrentqueue
csharp
dotnet
examples
fifo
queue
threading
threadsafe
Thread-safe Producer-Consumer from Scratch
C#
7 years ago
consumer
csharp
dotnet
examples
producer
queue
task
threading
threadsafe
Breaking Parallel Loops in .NET C#
C#
7 years ago
csharp
dotnet
loop
parallel
DateTime To Epoch Extensions
C#
7 years ago
csharp
date
datetime
dotnet
epoch
extensions
7 ways to start a Task in .NET C#
C#
7 years ago
csharp
dotnet
examples
task
threading
threadsafe
Calculate Standard Deviation
C#
7 years ago
algorithm
average
calculations
csharp
dotnet
helpers
math
Base64 URL Encode and Decode
C#
7 years ago
base64
byte
csharp
decode
dotnet
encode
helpers
Using Razor for Email Templates
C#
7 years ago
csharp
dotnet
email
examples
razor
template
Compute Pi in Parallel Speed Tests
C#
7 years ago
compute
csharp
examples
parallel
pi
threading
threadsafe
WebClient Extensions
C#
7 years ago
async
csharp
dotnet
extensions
httpclient
parallel
task
threading
webclient
First
«
10
11
12
13
14
15
16
17
18
19
20
»
Last
More »