Rapidshare Link Checker in C# – Source Code

I’ve created a simple validity checker desktop application for Rapidshare links.

I am giving out the source code and the binary, in case anyone is interested.

Read the rest of this entry »


A method that accepts a variable number of parameters in C#

This may be old news to you, but I have learned the existence of something like that in C# just now.

C# offers a very elegant solution to this problem with something called parameter arrays.

The signature of the method should be something like this:

void PassDynamicNumberofParameters (params int[] parameters)

Read the rest of this entry »

Output last inserted row id in TSQL in a stored procedure

It is quite easy to get the last inserted row id in TSQL.

Just create a stored procedure as below.

( @parameter1 int, @parameter2 varchar(255), @NewId int OUTPUT )

Read the rest of this entry »