Skip to main content
snippets
S
nippets
C#
Snippets
Date
•
Title
Select Distinct Columns from DataTable
C#
9 years ago
column
csharp
datatable
distinct
extensions
Select Random Element From Enumerable
C#
9 years ago
csharp
enumerable
extensions
random
Select Random Element in List
C#
6 years ago
csharp
enumerable
extensions
ienumerable
random
Select Rows from DataTable
C#
9 years ago
csharp
datatable
rows
sort
Send MailMessage in Task Extension
C#
6 years ago
csharp
examples
extensions
mail
mailmessage
smtp
smtpclient
task
Sends Bulk Emails in Parallel
C#
9 years ago
class
csharp
email
parallel
smtp
threading
Sequential Guid Generator
C#
4 years ago
csharp
guid
mssql
sequence
Serial Task Queue
C#
7 years ago
csharp
lock
queue
serial
task
threading
Set All Properties to Default Values
C#
7 years ago
csharp
default
dotnet
extensions
object
reflection
type
Short GUID
C#
1 year ago
base64
csharp
guid
id
Short ID Generator
C#
8 years ago
csharp
dotnet
helpers
id
short
url
Show Currently Installed .NET Framework Version and OS
C#
5 years ago
csharp
dotnet
framework
install
os
version
windows
Show Inbound Client TCP Connections
C#
6 years ago
console
csharp
network
tcp
tcplistener
windows
Show LINQ to SQL Queries in Debug Console
C#
10 years ago
csharp
debug
linq
sql
Show Server DateTime and Time Zone
C#
9 years ago
csharp
date
datetime
time
timezone
Shuffle Lists and Arrays
C#
7 years ago
algorithm
array
csharp
dotnet
list
random
shuffle
sort
Shutting Down Worker Threads Gracefully
C#
8 years ago
csharp
examples
shutdown
threading
worker
Sign/Verify Files Using HMACSHA384 in C#
C#
4 years ago
csharp
decrypt
encrypt
encryption
examples
file
hash
hmac
Simple C# Open Port Network Scanner
C#
7 years ago
async
class
csharp
dotnet
examples
ip
network
port
scan
socket
Simple Command Line Arguments Parser
C#
9 years ago
arguments
class
console
csharp
parameter
parse
First
«
17
18
19
20
21
22
23
24
25
26
27
»
Last
More »