Generate Random Numbers in C#

Random Class : It is used to generate pseudo-random number. Each execution it returns different values. NextBytes : It Fills the elements of a specified array of bytes with random numbers. Random.Next() Method : It Returns a random integers/characters NextDouble : Returns a random floating-point number that is greater than or equal to 0.0 and […]

Remove duplicate characters from string using C#

Hello Friends, This blog is about to Remove duplicate charactersfrom a string using using C#.Net. Here i’m using string.Empty : It Represents the empty string. This field is read-only andContains Method : It is used to return a value indicating whether the specified sub string occurs within this string or not. the following codes to […]