The following code snippet demonstrates how to bind dictionary to combobox in winforms using c#.
Updating UI in multithreading environment is always pain in mind. I have to write code every time to update UI. Fortunately i have found a solution so i am sharing this code
Following is small snippet which is the implementation of Fisher–Yates shuffle in csharp. This is generic extension method so we can use it for any type of list.
Previously while working on a project, I need to convert array of chars to string, I shocked to use function which return instead of actual string.
Many times we want to capture web page as picture. One possible solution is using print screen while viewing page, problem with this solution we can not capture whole page.
This is a small snippet which will capture whole page as a picture and save it to our desired path on disk.