Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > .NET > C#

C#

1-20 of 44     Previous     Next
Programmatically Retrieve a System's Logical Drive Information with C#
by Deepak Choudhari
Use C# and the System.Management namespace to retrieve information about logical drives in a given system.
Convert a Delimited String to a Generic List<string>
by Srinath MS
Split the string at the delimiter and then add each item to a new string list.
Call PowerShell Cmdlets from C#
by Cody Batt
Take advantage of pre-written cmdlet functionality in your own applications.
A Quick Way to Generate Properties in Visual Studio C# Projects
by Srinath MS
Don't write property setters and getters by hand--generate them!
Quick C# Project Documentation in Visual Studio
by Srinath MS
Here's a quick way to document your .NET projects.
Incrementing a C# Variable Efficiently
by Bashir Nabeel
Avoid postfix operators when incrementing composite objects.
Using a Built-In Shortcut to Add Properties to a Class
by Bill Harmon
After declaring your class, suppose you want to add individual element properties to that class. This process has been simplified in Visual Studio when working in C#.
Serialize and Deserialize an Object to an XML File in C# 2.0
by Deepak Choudhari
The example in this tip uses an ArrayList object to serialize, deserialize, and store itself in an XML file.
Another Way to Escape Sequences in .NET Resource Files
by Nick Piazza
There is actually another way to insert escape sequences, such as newline characters—or actually any Unicode character, directly into the Resource string—without resorting to Replace or similar manipulations.
Make a Textbox Display Characters in a Particular Case
by Srinath MS
Learn how to use the CharacterCasing property to make a textbox display characters in acertain case.
Recursive Function Finds a Control on a Form
by Yuriy Bas
This recursive function finds a control on a form by its name.
Using Multiline Strings in .NET Resource Files
by Guy Ronen
Displaying strings from .NET resource files may be a puzzle if the strings include escape sequences. Here is an easy solution.
Escape Sequences in .NET Resource Files
by Boris Eligulashvili
Learn how to escape sequences in .NET resource files.
How to Display ASP.NET DataGrid Data in Excel
by Naveen Lanke
This tip shares code that allows you to display ASP.NET DataGrid data in Excel.
Adding an Existing Windows Form to Another Project
by Boris Eligulashvili
When you add an existing Windows Form to another (target) project, it may fail to be opened by the VS.Net Designer in your target project. This tip explains why and how to prevent this from happening.
Access the ValueMember Item in a Bound CheckedListBox
by Evan Stone
This tip shows you how to retrieve items in a list that have been checked and simply output them to the Output window.
How to Hide a ContextMenu
by Boris Eligulashvili
Find out how to hide a ContextMenu.
How to Create a Web Service in C#
by Sachin Kainth
Learn how to create a Web service in C#.
Comparing Strings Properly in Java
by Sachin Kainth
Find out how to use the equals method to compare strings in Java.
Converting a String to a GUID
by Sachin Kainth
Learn about this simple way to convert a string, which is in the correct GUID format, into a GUID.
1-20 of 44     Previous     Next
Sitemap