Programming »

Find codes for C# .Net programming like printing, design patterns, string functions, events, win forms, structs and much more. C# .Net programming codes such as, integer properties, windows forms applications, messageBox properties, useful methods and much more.

Tags »

The Latest from this Author »

Subscribe to Author's Feed
  • MessageBox Tuning in C#
    Sat, 4th Oct 2008 20:08 EDT
    MessageBox class is used when you want to show some kind of information or when the application needs user intervention. This class contains static methods that help to interactuate with users....
  • MessageBox using AbortRetryIgnore Button in C#
    Sat, 4th Oct 2008 20:01 EDT
    This example is very similar to the previous one where I showed you how to write an example using the YesNo MessageBox. Here the only difference is that the MessageBox...
  • Understanding Exceptions provided by the .NET Framework - Part 1.
    Sat, 30th Aug 2008 20:18 EDT
    The NullReferenceException: The easiest way to explain how this works is by writing an example. What we are going to do in the following example is quite simple:...
  • Understanding Exceptions provided by the .NET Framework - Part 2.
    Sat, 30th Aug 2008 11:50 EDT
    You may saw in the previous post, a couple of exceptions we can use that are provided by the .Net Framework derived from the System.Exception class. Those two exceptions were:...
  • Using destructors in C#
    Wed, 6th Aug 2008 15:37 EDT
    Destructors are similar to de Constructors, almost the oposite.The destructor is used by the CLR when objects are destroyed.All this process happens in the background so the developer does not...
  • Defining methods in Structures (C#)
    Mon, 4th Aug 2008 12:25 EDT
    Normally you will see structures with only variables on it, but methods can also be included. This is usefull when you need to write a method that works directly with...
  • Implementing Interfaces in C#
    Thu, 31st Jul 2008 12:27 EDT
    Interfaces are a set of methods, properties and event that provides functionalities. This interces can be implemented by C# classes or structures. ...
  • Advance C# programming, overload unary plus.
    Tue, 22nd Jul 2008 22:02 EDT
    C# let’s you overload the behaviour of some unary operator such as: unary plus, minus, prefix increment, decrement, true keyword, false keyword and more. Ok, now let’s...
  • MessageBox using YesNo Button
    Fri, 27th Jun 2008 23:12 EDT
    With the previous post you could see that MessageBox class is very powerful and contains a lot of options for the static method Show. Now we will see in more...
  • Writing Registry keys
    Thu, 19th Jun 2008 11:59 EDT
    We saw before how to read a registry key. Writing is similar and also accomplished by the RegistryKey object. C# .Net provides very easy methods under this object to write...

Also See »