c# logic to get the first non-repeating(distinct) character from the string
- by NoviceToDotNet
In c# i want to create logic that if i a string like abcabda is passed to a method then it should return first non repeative character from string like in above it should return c.
i am unable to convert a string to array of character then how to make comparison of each array character to the string and return the first non repeative character.
…