Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  Practical C# Codes programming Blog  > 

Practical C# Codes Blog


coders-project.blogspot.com
Find free codes for C# .Net programming like printing, design patterns, string functions, events, win forms, structs and much more.
2011-04-27 15:40
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 detail how to implement the func… Read More
2010-07-24 21:56
In this short post I will show you how to convert XML to String, o viceversa, in order for example, to send it via Tcp/Ip. In this example, a Client is going to genereta a XML Document… Read More
2010-07-20 23:20
Continuing the xml posts, in this oportunity I will show you more options to create your XmlDocument. Here we will see: - Adding comment to the xml document (XmlComment) … Read More
2010-07-17 19:11
In the previous post I showed you how to create a XmlDocument following some easy steps. The idea now is to read the created xml and find elements by a specific tag. Then we are going to cha… Read More
2010-07-16 16:42
In this article I´ll show you how to create a .xml document using proper tags and definitions. To do this you need to import the System.Xml library. The idea is simple and the best wa… Read More
2010-05-09 00:10
Here is a small post about using split function in c#. We are going to split a String by using delimiters. A delimiter will tell when to split the string. So here is a fragment of code to pe… Read More
2009-04-18 19:31
Here is a nice method of getting the primary key from a table. Basicly what I do here is obtanning the first available key to insert new rows with this obtained key.First we set the instanc… Read More
2008-12-09 02:38
The continue statement basically what is does is that it return controls to the boolean expressing that controls an iteration statement. Example: for (int i = -6; i != 0; i… Read More
2008-12-09 02:38
This program below demonstrates the use of StreamWriter and StreamReader (both derive form the abstract type TextWriter and TextReader respectively). The .Net Framework has simple solutions… Read More
2008-12-09 02:38
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 keys. Be aware… Read More
2008-12-09 02:38
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 use… Read More
2008-12-09 02:38
Interfaces are a set of methods, properties and event that provides functionalities. This interces can be implemented by C# classes or structures. Interfaces do not provide methods o… Read More
2008-12-09 02:38
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 the content of the stuc… Read More
2008-11-28 23:24
In this very short article I will show you the easiest way to add a new text line on a txt file using C# .NET.I was researching on this matter very hard. First I started to read the entire f… Read More
2008-08-06 19:37
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 n… Read More
2008-05-26 18:56
The MouseDown event is the one I personally use every time a control needs both events for left and right click (middle click is also supported).So lest say we want to add the mouseDown even… Read More
2008-04-10 16:07
Here is an easy way to get access for example, to an Access database located in your program folder using ADO .NET . //Add this namespace for database handleusing System.Data.OleDb;… Read More
2008-04-10 16:05
This is actually very easy since we can use methods provided by the framework.So let’s write an example of how easy this is. Icon a = new Icon(location);//location can be a string p… Read More

Share the post

Practical C# Codes

×

Subscribe to Practical C# Codes

Get updates delivered right to your inbox!

Thank you for your subscription

×