Here is a learning resource site for C# .NET software developers and application programmers (CSharp). It provides 46 Tips for C# developers, along with C# public domain source code and C# open source programs. The tips here cover many topics, including Windows Forms, Data Binding, Graphics, Regular Expressions, Scripting, the Registry, Object Serialization, Email, HTML, TCPIP, and ASP.NET
Tips for C# Software Developers
- Windows Forms
- The best way to enable and disable buttons, menu items and toolbar buttons
- How to set focus to a specific control before the Form is displayed
- How to detect resource leaks in a Form
- How to avoid a resource leak when a Form contains a MainMenu
- How to speed up access to the RichTextBox Lines property
- How to move the cursor to a specified RichTextBox line and column
- How to determine the current RichTextBox column
- How to only allow specific characters to be typed into a RichTextBox or TextBox
- Why does setting a FolderBrowserDialog's ShowNewFolderButton property to false not work?
- How to get correct RadioButton group behavior
- Why are controls embedded in a TabControl's TabPage not sized correctly?
- .NET 2.0: How to suppress pop-up windows in a WebBrowser control
- Scripting
- How to run JScript.NET Code from C# Apps
- ASP.NET
- How to log uncaught application exceptions
- How to catch uncaught web service exceptions
- How to host multiple websites with multiple domains from a single, shared hosting account
- How to restrict a Calendar to a range of dates
- How to add an RSS feed to your website
- How to output non-HTML content from a .aspx page
- .NET 2.0: How to make Menu items selectable by clicking anywhere in their rectangles
- .NET 2.0: How to programmatically add tags to .aspx pages
Here is source code for 10 C# programs. The author has stated that he has "placed the source code in the public domain. You can use, modify, and distribute the source code and executable programs based on the source code."
C# .NET Open Source
Here is the source code for 5 open source C# programs.