Monday, March 23, 2009

bubble sort in C#

int[] number = { 1, 6, 3, 9, 2, 8 };
int temp =0;

for (int i = number.Length ; i>=1; i--)
{
for (int j = 0; j < i-1; j++)
{
if (number[j]>number[j+1])
{
temp = number[j+1];
number[j + 1] = number[j];
number[j] = temp;

}
}
}

// Display the result in the messageBox
for (int i = 0; i < number.Length; i++)
{
MessageBox.Show(number[i].ToString());
}

Thursday, March 5, 2009

Useful website for Programming

Programing Related

http://www.geekpedia.com -- for sample project, article etc great place..
http://codebetter.com/ --for technology update
http://mootools.net/
http://jquery.com/ -- java script library
http://blogs.sun.com/greimer/resource/loop-test.html
http://www.ultrapico.com/Expresso. -- for regx in java script
http://famfamfam.com/lab/icons/silk/ --- for icon
http://www.webappers.com/
resources for web developers
http://blogs.hibernatingrhinos.com/nhibernate/Default.aspx // NHiberNateMapping
http://www.w3schools.com/
best resource for DOM and JS
http://www.forkcan.com/ //==========FOR Sharing code in social way...

//for c# custom date format
http://www.csharp-examples.net/string-format-datetime/

//for C# example code
http://www.csharp-examples.net/examples/

// conceptual website
http://www.dotnetperls.com/

//Interview question and answer:
http://johnmarsing.wordpress.com/2011/02/20/

//For JAVA
http://extreme-java.blogspot.com/2011/02/top-java-blogs.html

//For Business intelligence
http://biarchanddesignguide.codeplex.com/releases/view/6572



Humor
http://thedailywtf.com/ --====== (and what not to do while programming)
http://www.collegehumor.com/ == funny vedio,pic etc


http://blogs.msdn.com/tess/archive/2008/09/09/asp-net-memory-identifying-pages-with-high-viewstate.aspx
Good blog, and relevant page


http://www.oredev.org/toppmeny/video/november13/tessferrandezcommonproblemsinaspnet.4.3f1ff754117a0ed3480800015509.html

good screencast about live debugging, can be good to know when deploying big complex websites


http://weblogs.asp.net/bleroy/archive/2008/12/29/why-are-scripts-slow-to-load-in-firefox-when-using-visual-studio-s-built-in-development-web-server-a-k-a-cassini.aspx

http://silverlight.net/blogs/msnow/archive/2008/09.aspx?PageIndex=1
for learning silverlight

http://xoax.net/comp/cpp/console/Lesson4.php
for learning visual c++ .net

//for Project Estimation
http://realdn.planningpoker.com/games/41712



// for daily useful web reference
http://jasonhaley.com/blog/

Entertainment

http://www.musicovery.com/
//for listening music

//for lunch break
http://www.quakelive.com/

History:
// history of bangladesh libaration war
http://www.liberationwarbd.org/

Math
// http://www.khanacademy.org/

IT Management
http://itmanagersinbox.com

Others
//for printing any page
http://www.printfriendly.com/

// for becoming a good developer
http://vimeo.com/17151526



// for complete professional web layout
http://layout.jquery-dev.net/demos/container.html

5 Strategies for Getting More Work Done in Less Time

Summary.    You’ve got more to do than could possibly get done with your current work style. You’ve prioritized. You’ve planned. You’ve dele...