Posts

7 Key Reasons Developers Love C# Programming

Image
Multithreading support in C# While there are many advantages of the language, C# multithreading features is what tops my list. The reason is that the threading mechanism is so much intuitive and easier to implement than many other languages like C++ or even java.

Some VB6 Tricks

Image
Though Visual Basic 6 has started getting lost in antiquity since the advent of .NET, we do know there are still zillions of VB6 programs in existence, with medium to high complexity. They are not migrated to C# or VB.NET and are maintained in their current state.

How to convert an image to bytes in .NET

Image
One of the most standard queries I come across in many of the coding forums these days is, how do we convert an image (Image/Bitmap class) in .NET to a byte[] array? The answer to this is very straight forward - a few lines of code in VB.NET or C#:

How to code efficiently in a .NET language

Image
Here are some techniques you may apply in your quest to become a better .NET coder: [1] Leverage the power of industry-standard tools. There exist many proven tools to help you with various programming needs.

How to perform Cross-thread communication in .NET programs (2011)

Multithreading is a quite useful technique in programming, especially in complex applications that seem to do a lot of things at the same time. The System.Threading class in .NET provides members that allow us to seamlessly create, stop and abort threads at will. But this article is not about managing threads, there are already several texts available for that. This is about managing a very typical scenario that is faced by a developer working on a multi threaded application.

How to create an FTP client in VB.NET (2011)

Image
The FTP (File Transfer Protocol) is one of the oldest and most popular ways of transferring files from one computer to another over a TCP network such as the internet. It is a Client/Server based protocol based on cear-text authentication. To get a detailed idea of what FTP is and how it is used, refer to http://en.wikipedia.org/wiki/File_Transfer_Protocol

Network programming in VB.NET and C# (2011)

The .NET framework provides an extensive set of functions to enable network programming using the objects in System.Net and System.Net.Socket namespaces. Let us look into some basic network concepts that we need to develop, say a chat program or a remote-signaling application in .NET.