Recently I was working on a project in C#.Net WinForms where the forms should be vertically re-sizeable only. After searching I came up with many solutions but the solutions I prefer is using WM_NCHITTEST which sends message by windows when ever mouse event occurs.
If you are developing a software in .NET framework and wants to get list of all countries to fill a Combo Box or any other control, or you wan to use it for any other purpose, then you can use the System.Globalization namespace to generate a list of countries.
If a database table contain duplicate records the it is easy to select unique records by using DISTINCT function. but when a .Net DataTable contain duplicate records then, there no built-in function to remove or select unique records from a DataTable.