new string(myCharCollection.Where(c => !char.IsPunctuation(c)).ToArray());
More Related Contents:
- C# how to check if a string contains 3 times the same letters in a row [closed]
- How to trim after 1 letter from space C#? [closed]
- How would you count occurrences of a string (actually a char) within a string?
- How to convert UTF-8 byte[] to string
- How do I parse a string with a decimal point to a double?
- Splitting a string into chunks of a certain size
- Color different parts of a RichTextBox string
- How can I String.Format a TimeSpan object with a custom format in .NET?
- Convert int to string?
- String Concatenation using ‘+’ operator
- Difference between string and StringBuilder in C#
- How to parse a string into a nullable int
- Compare version numbers without using split function
- Split a string with delimiters but keep the delimiters in the result in C#
- How to convert DateTime to/from specific string format (both ways, e.g. given Format is “yyyyMMdd”)?
- How do I get around the “‘” problem in sqlite and c#?
- Converting string expression to Integer Value using C# [duplicate]
- Compare String and Object in C#
- Parsing HTML to get content using C#
- How to extend C# built-in types, like String?
- Split String into smaller Strings by length variable
- How to define an enum with string value?
- Regex : how to get words from a string (C#)
- Find substring in a list of strings
- Two different “strings” are the same object instance?
- Using variables inside strings
- What method in the String class returns only the first N characters?
- split a string on newlines in .NET
- Operator ‘==’ cannot be applied to operands of type ‘char’ and ‘string’
- what’s the use of string.Clone()?