Main Navigation
Home
Blog
Index
Search
Articles
Books
Contact
BLOG.CSHARPHELPER.COM: Category Archive for syntax
Cast arrays from one reference type to another in C#
Posted by Rod Stephens at
2/6/2013 10:29 AM
|
Add Comment
Validate optional arguments in C#
Posted by Rod Stephens at
12/21/2012 11:29 AM
|
View Comments (1)
|
Add Comment
Use named and optional arguments in C#
Posted by Rod Stephens at
12/20/2012 2:09 PM
|
Add Comment
Use a for loop to recursively iterate over the items in an array with an unknown number of dimensions in C#
Posted by Rod Stephens at
10/30/2012 7:40 AM
|
Add Comment
|
Trackbacks
Compare the times needed to loop over dates by using DateTime variables and integers in C#
Posted by Rod Stephens at
10/10/2012 6:20 AM
|
Add Comment
Find all of the Friday the Thirteenths between two dates in C#
Posted by Rod Stephens at
10/9/2012 6:26 AM
|
Add Comment
Overload == and != to make comparing two structs easy in C#
Posted by Rod Stephens at
10/8/2012 11:10 AM
|
Add Comment
Create a class outside of any namespace statement in C#
Posted by Rod Stephens at
8/31/2012 8:16 AM
|
View Comments (2)
|
Add Comment
Use a foreach loop to iterate over the items in an array or list in C#
Posted by Rod Stephens at
8/24/2012 10:23 AM
|
Add Comment
Initialize a Dictionary in C#
Posted by Rod Stephens at
8/23/2012 3:19 PM
|
Add Comment
Understand the "at" symbol (@) in C#
Posted by Rod Stephens at
8/10/2012 7:17 AM
|
View Comments (1)
|
Add Comment
Understand when a "finally" block is executed in C#
Posted by Rod Stephens at
8/2/2012 1:05 PM
|
Add Comment
Compare the speeds of x++, x += 3, x = x + 3, and other statements in C#
Posted by Rod Stephens at
5/25/2012 7:13 AM
|
Add Comment
Compare the speeds of the conditional (ternary) ?: operator and the if-else statement in C#
Posted by Rod Stephens at
5/24/2012 8:10 AM
|
View Comments (2)
|
Add Comment
Compare the speeds of a switch statement and a series of if-then statements in C#
Posted by Rod Stephens at
4/24/2012 6:44 AM
|
Add Comment
Clone lists and arrays of objects in C#
Posted by Rod Stephens at
11/21/2011 8:35 AM
|
View Comments (1)
|
Add Comment
Use serialization to make deep clones of a class in C#
Posted by Rod Stephens at
11/19/2011 7:48 AM
|
View Comments (4)
|
Add Comment
Use the MemberwiseClone method and implement the ICloneable interface in C#
Posted by Rod Stephens at
11/17/2011 8:45 AM
|
Add Comment
Make shallow and deep clones of objects in C#
Posted by Rod Stephens at
11/16/2011 10:19 AM
|
Add Comment
Add delegates to combine lists of methods in C#
Posted by Rod Stephens at
11/3/2011 7:32 AM
|
Add Comment
Use XML comments to provide IntelliSense support and documentation in C#
Posted by Rod Stephens at
10/26/2011 9:43 AM
|
Add Comment
Initialize an array of arrays in C#
Posted by Rod Stephens at
5/25/2011 6:33 AM
|
Add Comment
Initialize a two-dimensional array in C#
Posted by Rod Stephens at
5/24/2011 5:32 AM
|
Add Comment
Extract comments from a C# file in C#
Posted by Rod Stephens at
3/19/2011 9:04 AM
|
Add Comment
Convert enum values to and from strings in C#
Posted by Rod Stephens at
3/2/2011 6:38 AM
|
Add Comment
Flush click events to prevent the user from clicking a button while its code is still running in C#
Posted by Rod Stephens at
2/20/2011 4:06 PM
|
View Comments (2)
|
Add Comment
Use the conditional (ternary) ?: operator in C#
Posted by Rod Stephens at
2/8/2011 6:52 AM
|
Add Comment
Declare and initialize empty arrays in C#
Posted by Rod Stephens at
2/7/2011 7:22 AM
|
Add Comment
Make and use an array of controls in C#
Posted by Rod Stephens at
1/13/2011 4:50 PM
|
Add Comment
Use the "is" operator to see if an object can be converted into another type in C#
Posted by Rod Stephens at
12/29/2010 8:30 AM
|
Add Comment
Use try catch blocks to protect against unexpected errors in C#
Posted by Rod Stephens at
6/6/2010 6:31 AM
|
Add Comment
Use nullable parameters in C#
Posted by Rod Stephens at
6/3/2010 6:04 AM
|
Add Comment
Use null to simulate optional parameters in C#
Posted by Rod Stephens at
6/2/2010 5:53 PM
|
Add Comment
Use overloaded methods to simulate optional parameters in C#
Posted by Rod Stephens at
6/1/2010 9:19 AM
|
Add Comment
Use the using statement to automatically call Dispose in C#
Posted by Rod Stephens at
3/23/2010 8:07 AM
|
Add Comment
Override a class's ToString method to allow controls such as ListBox to display objects in C#
Posted by Rod Stephens at
11/15/2009 7:20 AM
|
Add Comment
Quick Search
Search only in titles:
Keyword:
Search in:
Title
Title and Contents
Title and Comments
Title, Contents, Comments
Date Range:
1 week
2 weeks
1 month
3 months
All
Advanced Search
Basic Search
Calendar
May 2013
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Subscribe
Twitter Link
CSharpHelper
Follow me on Twitter
Twitter RSS
Syndicate
Posts Atom 1.0
Comments Atom 1.0
Posts RSS 2.0
Comments RSS 2.0
Podcasts RSS 2.0
Recent Posts
How to send an SMS text message in C#
Friday, May 17, 2013
How to send an email message in C#
Thursday, May 16, 2013
How to extract only some of the information from a JSON file in C#
Wednesday, May 15, 2013
Use JSON to serialize and deserialize objects in C#
Tuesday, May 14, 2013
Download and display a text file whenever a program starts in C#
Monday, May 13, 2013
Anatomy of an example
Saturday, May 11, 2013
Congratulations to winners of the book drawing
Friday, May 10, 2013
Make an owner drawn ListBox that left and right justifies columns of values in C#
Wednesday, May 08, 2013
Draw rows of data in left and right justified columns in C#
Tuesday, May 07, 2013
Use the ListBox control's FormatString property to format values in C#
Monday, May 06, 2013
Monthly Archives
2013
May 2013 (14)
April 2013 (5)
March 2013 (8)
February 2013 (5)
January 2013 (12)
2012
December 2012 (14)
November 2012 (17)
October 2012 (19)
September 2012 (23)
August 2012 (18)
July 2012 (17)
June 2012 (21)
May 2012 (21)
April 2012 (19)
March 2012 (19)
February 2012 (19)
January 2012 (21)
2011
December 2011 (22)
November 2011 (23)
October 2011 (23)
September 2011 (23)
August 2011 (23)
July 2011 (13)
June 2011 (21)
May 2011 (25)
April 2011 (21)
March 2011 (15)
February 2011 (19)
January 2011 (28)
2010
December 2010 (30)
November 2010 (24)
October 2010 (25)
September 2010 (15)
August 2010 (9)
July 2010 (22)
June 2010 (30)
May 2010 (28)
April 2010 (28)
March 2010 (25)
February 2010 (19)
January 2010 (34)
2009
December 2009 (27)
November 2009 (26)
October 2009 (1)
Category Archives
ADO.NET (2)
algorithms (238)
animation (14)
API (14)
arrays (22)
attributes (2)
audio (3)
books (5)
calculations (2)
challenges (3)
classes (31)
clipboard (3)
coding (5)
combinatorics (3)
console (1)
controls (128)
cryptography (7)
curve fitting (4)
database (10)
debugging (5)
dialogs (8)
directories (8)
Drag and Drop (4)
drawing (1)
drawings (3)
enums (3)
Event (2)
events (2)
Excel (7)
extension methods (16)
extensions (4)
files (50)
finance (9)
fonts (29)
forms (27)
fractals (31)
ftp (1)
games (12)
geometry (28)
globalization (1)
graphics (329)
html (4)
IDE (5)
inheritance (3)
interfaces (6)
internationalization (4)
internet (12)
interoperability (3)
LINQ (8)
lists (5)
localization (3)
mathematics (106)
memory (2)
menus (9)
MessageBox (2)
methods (3)
miscellany (22)
multimedia (12)
network (3)
Office (11)
OOP (4)
OOPS (1)
operators (4)
parsing (6)
performance (11)
printers (4)
printing (13)
productivity (1)
programs (18)
reflection (6)
registry (5)
regular expressions (10)
serialization (4)
settings (2)
SQL (2)
stories (1)
strings (35)
syntax (36)
system (47)
threading (7)
tips (5)
transformations (4)
user interface (6)
variables (20)
VBA (4)
web (9)
WMI (3)
Word (5)
wpf (6)
XAML (4)
XML (4)
Recent Comments
Akshatha on
Draw rotated text in C#
5/7/2013
Rod Stephens on
Calculate the Nth root of a number in C#
5/1/2013
TheGuyWhoDisliked on
Calculate the Nth root of a number in C#
4/29/2013
Rod Stephens on
Apply filters to images to perform edge detection, smoothing, embossing, and more in C#
4/7/2013
Rod Stephens on
Remove the X Close button from a form's system menu in C#
3/31/2013
Christopher Harris on
Remove the X Close button from a form's system menu in C#
3/29/2013
Rod Stephens on
Draw a simple robot arm in C#
3/22/2013
Marcone on
Remove characters that are not printable ASCII characters from a string in C#
3/19/2013
me on
Draw a simple robot arm in C#
3/18/2013
Robert Gawron on
Use steganography to hide one picture inside another in C#
3/7/2013
Blog Software