Searching for ( DOTNET )

Counting how many times a certain char appears in a string

Added by Mind Hunter updated on Monday, September 24, 2018

Here is a small snippet which will count the certain char in given string.


How to get pressed char from KeyEventArgs Winforms

Added by Mind Hunter updated on Thursday, May 10, 2018

Here is a small snippet which will get the pressed char at keydown event. Sometimes we need to get Char at key down event rather than keypress event.


Singleton Single Instance Class in C# (Multithreaded)

Added by Sixth Sense updated on Saturday, April 21, 2018

We need a class that has only one instance, and we need to provide a global point of access to the instance.  We may also want to make sure that our solution is thread safe.


Different ways to get Application Executable Path

Added by Sixth Sense updated on Tuesday, April 3, 2018

Many times we need to know executable path of Application and some time we need to know the path of assembly which is loaded. There are many options to get the location but not all are good as we think.


How to prevent DataGridView from flickering |Blinking

Added by Sixth Sense updated on Wednesday, March 7, 2018

Flickering is common problem in windows forms DataGridView when we use huge data to display. Overcome this problem is tricky part which we will discuss in this small snippet.


About

29 Tutorials
25 Snippets
6 Products

More

Contact Us

Contact us

Stay Connected