Tuesday, September 6, 2011

Command to view all active "TCP" or "UDP" connections

Goto to command prompt and type "netstat"

Delete item from "Enumerable List"

While performing a delete operation on a "Enumerable List" always use "for" statement instead of "for each".
In for statement last from the last item in the list.
Example:

for(int index=tempList.count;index > 0;i--)
{
 //Delete logic here...................
}