Dot Net Perls

C# Problems and Solutions

by Sam Allen
Algorithms
Arrays
ASP.NET
Compression
Conversion
Data
DateTime
Dictionary
File I/O
Integers
Internet
Language Features
Regexes
Singleton
StringBuilder
Strings
Tools
Web Forms
Windows Forms
Source Code
Sitemap
C#, Windows and ASP.NET

Occurrence Count of String
You need to count the number of occurrences of one string in another, larger string. This is useful... [New]

StartsWith String Examples
You need to test the first or last characters of your C# string against another string or string literal... [New]

GZIP Accept-Encoding Request
You are using GZIP compression in your ASP.NET application and need to test client requests for GZIP... [New]

Convert bool to int
You need to convert your bool value to an int, 0 or 1. In C and C++, false is equivalent to 0 and true...

DeflOpt Utility
You want to improve the compression ratio of your GZIP, ZIP, or PNG files that use the DEFLATE compression...

ASP.NET Development Server .bat File
You want to start the ASP.NET Development Server from a .bat file. Some other guides are slightly confusing...

GZIP Header Flag Byte
You want to rewrite the contents of your GZIP files to remove the optional filename metadata. Some GZIP...

SortedDictionary
You want to test the SortedDictionary in System.Collections.Generic for a Dictionary that has keys that...

Dot Net Perls
About
Sitemap
RSS
Popular
7-Zip Command-Line Examples
DataGridView Tips and Secrets
DataGridView Tutorial
DataTable Example
Split String Examples
New
Occurrence Count of String
StartsWith String Examples
© 2008 Sam Allen. All rights reserved.