Learn how search enabled in various locations in Visual Studio 11 Developer Preview helps improve productivity.
Enjoy!
Saturday, July 14, 2012
Microsoft 101: Visual Studio (abridged)
Spanning the history of Microsoft, this documentary covers the origins and evolution of Microsoft's developer tools and its seminal software development product, Visual Studio.
Enjoy!
Enjoy!
Jerry Nixon @work: Premier Episode of Microsoft DevRadio on MSDN: Bui...
Jerry Nixon @work: Premier Episode of Microsoft DevRadio on MSDN: Bui...: Nisha and I kicked off the maiden episode of Microsoft DevRadio on MSDN. It you are like me (meaning you love to hear me talk) then this is ...
Wednesday, July 11, 2012
Vatlab.com - Facebook ASP.NET controls and applications in C# and VB.NET
Awesome controls from Vatlab.com for quickly integrating Facebook into your website or apps.
Enjoy!
Facebook ASP.NET controls and applications in C# and VB.NET
Enjoy!
Facebook ASP.NET controls and applications in C# and VB.NET
Monday, July 9, 2012
Windows Phone - Week 1 Development Showcase
Get started in developing Windows Phone apps targeting Windows Phone 7.5
Week 1
Enjoy!
Week 1
Enjoy!
Friday, July 6, 2012
Thursday, July 5, 2012
CNET News: Steve Jobs' demo fail
I thought Microsoft is the only one who fails at demos, apparently, Apple also does. Big guns do also fail at this moments. :-)
Wednesday, July 4, 2012
The BoxingBots Infomercial Funny!
Please be warned, this stuff is very funny!
Edge Show 27: Windows Server 2012 Release Candidate hits the streets
Edge Show #27: Windows Server 2012 Release Candidate hits the streets
C# 17 - Bubble Sort
Implementing a sort using insertion sort algorithm.
1. Create a new console project.
2. Edit the Program.cs inside static void Main(string[] args) file as shown below.
static void Main(string[] args)
{
int[] array = { 2, 3, 1, 9, 4, 7, 5, 8, 6, 10, 20, 12, 18, 11, 15, 16 };
Console.Write("Before sort: ");
PrintArray(array);
Console.WriteLine();
BubbleSort(array);
Console.Write("After sort: ");
PrintArray(array);
Console.ReadLine();
}
private static void BubbleSort(int[] array)
{
int temp;
for (int i = array.Length; i >= 0 ; i--)
{
for (int x = 0; x < array.Length - 1; x++)
{
if (array[x] > array[x + 1])
{
temp = array[x];
array[x] = array[x + 1];
array[x + 1] = temp;
}
}
}
}
private static void PrintArray(int[] array)
{
for (int i = 0; i < array.Length; i++)
{
Console.Write(array[i] + " ");
}
}
3. Press F5 to run and see the results.
4. Enjoy!
References:
http://www.sorting-algorithms.com/bubble-sort
http://en.wikipedia.org/wiki/Bubble_sort
http://www.algolist.net/Algorithms/Sorting/Bubble_sort
Subscribe to:
Posts (Atom)