Skip to main content
snippets
S
nippets
C#
Snippets
Date
•
Title
Pluralize Word
C#
8 years ago
csharp
dotnet
extensions
helpers
plural
string
Set All Properties to Default Values
C#
8 years ago
csharp
default
dotnet
extensions
object
reflection
type
Hash Message Examples in C#
C#
8 years ago
algorithm
csharp
dotnet
examples
hash
hashalgorithm
security
sha256
Using the Thread-safe ConcurrentQueue Collection
C#
8 years ago
concurrency
concurrentqueue
csharp
dotnet
examples
fifo
queue
threading
threadsafe
Thread-safe Producer-Consumer from Scratch
C#
8 years ago
consumer
csharp
dotnet
examples
producer
queue
task
threading
threadsafe
Breaking Parallel Loops in .NET C#
C#
8 years ago
csharp
dotnet
loop
parallel
DateTime To Epoch Extensions
C#
8 years ago
csharp
date
datetime
dotnet
epoch
extensions
7 ways to start a Task in .NET C#
C#
8 years ago
csharp
dotnet
examples
task
threading
threadsafe
Calculate Standard Deviation
C#
8 years ago
algorithm
average
calculations
csharp
dotnet
helpers
math
Base64 URL Encode and Decode
C#
8 years ago
base64
byte
csharp
decode
dotnet
encode
helpers
Using Razor for Email Templates
C#
8 years ago
csharp
dotnet
email
examples
razor
template
Compute Pi in Parallel Speed Tests
C#
8 years ago
compute
csharp
examples
parallel
pi
threading
threadsafe
WebClient Extensions
C#
8 years ago
async
csharp
dotnet
extensions
httpclient
parallel
task
threading
webclient
Make a RESTful Async API Call in an MVC Controller
C#
8 years ago
aspnet
async
controller
csharp
examples
json
mvc
restful
Use Server MapPath when HTTPContext is null
C#
8 years ago
aspnet
csharp
dotnet
httpcontext
path
webconfig
Using Interlocked CompareExchange with Retry
C#
8 years ago
concurrency
csharp
dotnet
double
examples
interlocked
parallel
threading
threadsafe
Generate a URL from ASP.NET MVC Route Attributes
C#
8 years ago
action
aspnet
controller
csharp
dotnet
examples
mvc
razor
url
Operation Performance Timer Class
C#
8 years ago
benchmark
class
csharp
performance
Singleton Patterns in C#
C#
8 years ago
csharp
dotnet
examples
patterns
singleton
threading
threadsafe
Convert from utf-8 bytes to string and back
C#
8 years ago
byte
convert
csharp
encode
encoding
examples
string
unicode
utf8
First
«
11
12
13
14
15
16
17
18
19
20
21
»
Last
More »