Skip to main content
snippets
S
nippets
C#
Snippets
Date
•
Title
Unit Test from Multiple Threads
C#
8 years ago
csharp
testing
threading
threadsafe
Visual Studio Unit Testing Class Template
C#
8 years ago
boilerplate
csharp
template
testing
visualstudio
Test Extensions
C#
8 years ago
csharp
extensions
testing
Range Requests in ASP.NET MVC
C#
8 years ago
aspnet
attribute
csharp
file
filter
mvc
stream
video
Content Security Policy Attribute
C#
8 years ago
aspnet
attribute
csharp
filter
mvc
security
Require HTTPS and Add HSTS Headers
C#
8 years ago
aspnet
attribute
csharp
filter
https
mvc
security
ssl
Accept Ajax Request Attribute
C#
8 years ago
ajax
aspnet
attribute
csharp
filter
mvc
Int Extensions
C#
8 years ago
calculations
csharp
extensions
int
percentile
Float Extensions
C#
8 years ago
calculations
csharp
extensions
float
percentile
Decimal Extensions
C#
8 years ago
calculations
csharp
decimal
extensions
percentile
Double Extensions
C#
8 years ago
average
calculations
csharp
double
extensions
percentile
Long Extensions
C#
8 years ago
average
calculations
csharp
extensions
long
percentile
More DateTime Extensions
C#
8 years ago
csharp
datetime
extensions
Download Web Page Async
C#
8 years ago
async
csharp
download
Example Using ConcurrentQueue and ConcurrentDictionary
C#
8 years ago
concurrentdictionary
concurrentqueue
csharp
parallel
queue
task
threading
tpl
Select Random Element From Enumerable
C#
8 years ago
csharp
enumerable
extensions
random
To Log String
C#
8 years ago
csharp
exception
extensions
log
Seconds To String in C#
C#
8 years ago
csharp
format
seconds
time
Converts Any Object to a Dictionary
C#
8 years ago
csharp
dictionary
extensions
object
Limit Text Length
C#
8 years ago
csharp
extensions
string
testing
text
First
«
17
18
19
20
21
22
23
24
25
26
27
»
Last
More »