The Wayback Machine - https://web.archive.org/all/20050205122140/http://www.codenuke.com:80/
Categories
Search


Advanced Search

Welcome to Codenuke.com! Become a Codenuke.com Author Published 6/7/2004 Are you interested in writing technical articles? If yes, CodeNuke is currently looking for authors to write interesting articles relating to .NET technologies or SQL Server. Please click on the link below to register as an author. 

http://www.codenuke.com/Authors.aspx?a=Register

Featured Articles
Augment Default Controls With Inheritance - November, 2004Enhance .NET's controls and classes so they serve you better.
....
more >


Create Self-Validating Controls - November, 2004Learn everything you need to know to write self-validating Windows Forms Controls using regular expressions and inheritance.....
more >


Implementing Forms Based Authentication with ASP.NET - June, 2004This article explains the steps involved to implement forms based authentication in an ASP.NET application. In classic ASP, one had to use third party tools or such as Site Server or extensive code to....
more >


Fun ASP.NET Whidbey Tip/Trick: DataBinding to Generics - June, 2004One of the great new features in Whidbey are "Generics" -- which basically provide a mechanism that enables developers to build classes whose signature and internal datatypes can be templatized.
<....
more >


-->
Recent Articles
Manipulate Text With Regular Expressions - November, 2004Determine whether a given date is greater than or equal to a predefined date, and learn how to add to the list of Standard Expressions in the Regular Expression Editor. ....
more >

How do I get the rightmost part of a string, like VB Right function? - June, 2004Use String.Substring. Assuming that x is a string of length at least n, to get the last n characters, you would use x.Substring(x.Length-n). Note that the above assumes that the string is at least n c....
more >

What do I use instead of addressof? - June, 2004To create delegate instances in C#, you just specify the delegate type, the method, and (if you want to create a delegate targetting a different instance or type from the current one) the target. For ....
more >

Where can I get a full comparison between C# and VB.NET? - June, 2004Microsoft provides a very full language equivalents page which....
more >

How do C# generics compare to C++ templates? - June, 2004This is really a fairly complex topic.Anders has touched on it in an interview.I should state at the outset that the goals of ge....
more >

How can I update my user interface from a thread that did not create it? - June, 2004When performing any action on a control which requires the updating of a user interface element (e.g. setting the Text property on almost any class derived from Control, updating the data....
more >

Why do I need a null test before I invoke a delegate? - June, 2004If you have an event in a class, you need to add a null test before you call the delegate. Typically, you would write:if (Click != null) Click(arg1, arg....
more >

Should I assign null to my local variables? - June, 2004Should I assign null to my local variables after I use them? For example:

string s = ...;
Console.WriteLine(s);
s = null;

A: There is rarely a need to do this for local variables i....
more >


When should I use == and when should I use Equals? - June, 2004The Equals method is just a virtual one defined in System.Object, and overridden by whichever classes choose to do so. The == operator is an operator which can b....
more >

How can I subscribe to events exposed by a remoted object? - June, 2004Delegates require information about the type that the method is associated with in order to make a call.  In a single app-domain, this isn't a problem, because the server (the object firing the events....
more >

Popular Articles
  1. Implementing Forms Based Authentication with ASP.NET
  2. Getting a list of all resources in an assembly
  3. How do I get the rightmost part of a string, like VB Right function?
  4. Where can I get a full comparison between C# and VB.NET?
  5. Fun ASP.NET Whidbey Tip/Trick: DataBinding to Generics
Popular Authors
  1. C# Team
  2. Vish Vishwanathan
  3. Scott Guthrie
  4. MSDN Library