How to convert a String to Securestring using C# and VB.NET
Here is an example on how to convert a String to Securestring using C# and VB.NET. Please remember that the plain string which will be converted to SecureString beats the…
All the Code Snippets and Samples you need
Here is an example on how to convert a String to Securestring using C# and VB.NET. Please remember that the plain string which will be converted to SecureString beats the…
To Remove duplicates from a IEnumerable using C# or VB.NET you can use the snippet below. Sample .NET 3.5 and newer Sample C# Sample VB.NET (autogenerated) Sample .NET 2.0 Sample…
To read a embedded resource to String in C# and VB.NET you can use the snippet below. Keep in mind that this snippet is using Encoding.Default which might not always…
To convert a Color to Hex and vice versa using C# and VB.NET you can use the snippets below. Sample C# Sample VB.NET (autoconverted)
To match strings using wildcards in C# and VB.NET you can use the following snippet. It will internally convert the wildcard string to a Regex. The Console-Output of this sample…
To map Objects that need Constructor Parameters using Automapper you need to use the ConstructUsing Method while Creating the Map. See the Sample Console Applications below. Sample Console Application C#…
To change the BackgroundColor of a XtraGrid Grouprow you need to use the Gridviews CustomDrawGroupRow Event. Sample C# Sample VB.NET
To get all Description Attributes of an Enum using C# or VB.NET you can use the snippet below. Sample C# – Class Usage C# Sample VB.NET – Class Usage VB.NET…
To get the selected row index in Devexpress Xtragrid Control using C# and VB.NET you can use the snippet below. Samples Sample C# int selectedRowIndex = gridView1.FocusedRowHandle; Sample VB.NET Dim…
To read a String to Textreader using C# and VB.NET you can use the snippet below. Sample C# Sample VB.NET