drfarzad, other than you are acting like a small child because no one will code it for you.
If its not your homework, and you need it *critically* it can only therefore be your job, and if you're being paid to do it, call a collegue..
You arent showing effort at all, you're acting like the small child who didnt get the toy they wanted for christmas.
Sure, RamyMahrous didnt show how to use the code he posted, but he did show some sensible code, the fact is you just pasted it and didnt bother working out what you'd do with it or what it means. All this demonstrates is you havent a clue about writing some code only copy and pasting from places and hoping it all works.
An app that works out max/min and sorts some salaries is not life essential, and is without doubt something you can do either in your head, or, in excel which ever you're comfortable with.
In the mean time, go to somewhere like http://www.3dbuzz.com and look at their free c# video training material about how to think about a program, how to code it, learn a little about c# and its OO and they have stuff on other languages, but, take a look at their hyperion code, and its a good basis for the lazy person who doesnt like reading too, as its video and code as you go.