Skip to main content
snippets
S
nippets
tag:
csharp
Various String Util Methods
C#
5 years ago
csharp
extensions
helpers
string
text
utils
JSON Quote String
C#
5 years ago
csharp
escape
json
newline
string
ASP.NET MVC Controller Action Security Checker
C#
5 years ago
aspnet
controller
csharp
csrf
mvc
security
validateaniforgerytoken
Various String Helper Methods
C#
5 years ago
csharp
extensions
helpers
string
text
utils
Raising an Event in a Thread-Safe Way
C#
5 years ago
csharp
event
eventargs
eventhandler
examples
extensions
threading
threadsafe
vol
volatile
C# Operation Timer
C#
5 years ago
benchmark
csharp
performance
testing
Thread-bound Task Scheduler Class
C#
5 years ago
blockingcollection
concurrency
csharp
task
taskscheduler
threading
threadsafe
windows
User Privileges and Elevated Account Status Helper
C#
5 years ago
account
csharp
helpers
impersonation
principalcontext
security
uac
utils
windows
C# Enum Helpers
C#
5 years ago
csharp
enum
extensions
flags
helpers
utils
HTML to PDF Converter
C#
5 years ago
convert
csharp
helpers
html
pdf
utils
Parse File Size into Bytes
C#
5 years ago
convert
csharp
file
helpers
parse
size
utils
C# Impersonation Helper
C#
5 years ago
authentication
csharp
emulation
helpers
security
utils
windows
windowssecuritycontext
Count Occurrence of Substring
C#
5 years ago
count
csharp
helpers
string
substring
utils
Escape XML String
C#
5 years ago
cdata
csharp
escape
helpers
string
text
utils
xml
xmlwriter
Replace Invalid XML Characters
C#
5 years ago
csharp
helpers
regex
string
utils
validation
xml
C# Task Cancellation Example
C#
5 years ago
cancellation
cancellationtokensource
csharp
examples
task
threading
How to Cancel a Non-cancelable Async Operation(s)
C#
5 years ago
async
cancellation
cancellationtokensource
csharp
extensions
task
threading
Split String Characters
C#
5 years ago
array
character
csharp
parameter
split
utils
Lazy Task Execution
C#
5 years ago
csharp
examples
lazy
task
threading
threadsafe
Adding and Removing Items to a BlockingCollection
C#
5 years ago
blockingcollection
consumer
csharp
examples
producer
task
threading
threadsafe
First
«
4
5
6
7
8
9
10
11
12
13
14
»
Last
More »