|
|
shabbir
To start with include namespaces
using System.Diagnostics; // For prcesss related information
using System.Runtime.InteropServices; // For DLL importing
Now declare these variables
private const int SW_HIDE = 0; Now declare win32 function ShowWindow
|
|
4 |
15,634 |
|
 |
Febian
Introduction
We use Winsock to establish connection between client and server . This is the beginning of everything in the computer of today's !!! The net is the most power tools of the programmers and you must learning to use it. In this article we will see how to create a simple chat...
|
11-06-2009 03:25 PM
by Hrqls
|
6 |
21,236 |
|
 |
Sanskruti
Introduction
C# is an object-oriented programming language developed by Microsoft Corporation . C# source code as well as those of other .NET languages is compiled into an intermediate byte code called Microsoft Intermediate Langauge. C# is primarily derived from the C, C++, and Java...
|
|
2 |
6,412 |
|
 |
filip
Introduction
The OpenDocument Format (ODF) is an XML-based file format for representing electronic documents such as spreadsheets, charts, presentations and word processing documents. The standard was developed by the OASIS (Organization for the Advancement of Structured Information Standards),...
|
|
3 |
1,121 |
|
|
Sanskruti
Introduction
Commenting in any programming langauge is important part of development because it helps understanding the code better and supplements when working as a part of the large team and so C# being a langauge of the modern era has some of the best support any project needs as far as the...
|
|
3 |
4,676 |
|
 |
naimish
Introduction
This solution describes an approach how to send email messages with or without attachments.
Background
The EmailProgram class is used to send email messages with or without attachments.
The code
|
|
4 |
2,192 |
|
|
naimish
Encryption/Decryption file, string etc using C#
using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography;
using System.IO;
namespace BHI.Rats
|
|
8 |
2,000 |
|
 |
coderzone
When it comes to Visual Studio .NET; .NET framework is the heart and soul of everything. We cannot possibly talk about .NET without properly understanding what it really means by .NET framework. Therefore, this guide is for those who have been wondering what .NET framework is.
.NET framework...
|
|
4 |
1,238 |
|
 |
coderzone
Multithreading has been there in the world of computer programming for years. Although, almost all developers pretend to know what multithreading is, it looks like multithreading requires a little more attention when implementing in the real world. Of course, multithreading is easy to understand...
|
|
2 |
1,596 |
|
 |
shabbir
Delegate.Invoke
Delegate.Invoke is used to execute a delegate on the current thread. A delegate is just a reference to a function or method, and Delegate.Invoke is the mechanism to call this function or method (similar to a normal function call).
Delegate.BeginInvoke
Delegate.BeginInvoke...
|
|
1 |
15,585 |
|
 |
pradeep
Implementing Bubble Sort in C#
/*
** Simple class to sort an array in ascending order using bubble sort
** @author: Tanaz Kerawala
** @author: S Pradeep
** @date: 5/29/2007
*/
|
04-17-2009 03:56 PM
by danhl
|
8 |
20,110 |
|
 |
sanjitsil
Introduction
Before designing a class, we should have a very clear understanding about constructor. In this article I will discuss definition, types and features of constructor.
Definition
A constructor looks like a special method having no return type and its name is same with the class...
|
|
1 |
5,552 |
|
|
Sanskruti
Introduction
Exceptions are unforeseen errors that happen in your programs. Most of the time, you can, and should, detect and handle program errors in your code. For example, validating user input, checking for null objects, and verifying the values returned from methods are what you expect, are...
|
|
3 |
6,651 |
|
|
Sanskruti
If you go through any standard C# books you will see the constructors and so I would not get into the details of the constructors but what is more important to me is the use of static constructors which is somethine new in C# or you can say that its a copy of initiliazation block in Java.
...
|
|
3 |
8,091 |
|
 |
shabbir
Introduction
I happen to edit the collections many times in the foreach loop and run into problems and then each time I got a different solution when going to Google, So first I would try to list each of the solution and then discuss them so that we all can have the best practice in the...
|
|
5 |
4,478 |
|
 |
pradeep
C# allows you to define two types of variables: value types and reference types. The value types hold actual values, while reference types hold references to values stored somewhere in memory.
Also value types are allocated on the stack and are available in most programming languages. Reference...
|
|
20 |
14,394 |
|
|
Sanskruti
If you program in more than one language, sometimes you want to use an phrase or expression from one language in the other, when it does not exist you have to invent it for that language. Nested functions are functions defined within functions. They can be useful for compartmentalizing behavior...
|
|
3 |
7,805 |
|
 |
pradeep
When Windows developers need a unique value, they often utilize a Globally Unique Identifier (GUID). Microsoft uses the term GUID for a unique number that identifies an entity, such as a Word document.
A GUID is a 128-bit integer (16 bytes) that you can use across all computers and networks...
|
|
0 |
4,254 |
|
 |
pradeep
Class overview
Microsoft documentation says the Directory class exposes static methods for creating, moving, and enumerating through directories and subdirectories. In addition, you may access and manipulate various directory attributes such as creation or last modified time stamps, along...
|
|
0 |
3,299 |
|
 |
pradeep
The .NET Framework has built-in support for globalisation in its System.Globalization namespace. This namespace can help you build international support into your applications.
If you plan your applications to include support for an international audience, the cost to develop them isn't much...
|
|
0 |
4,854 |