Monday, 30 September 2013

C# - Find all integers in list of strings

C# - Find all integers in list of strings

Given this list of string values:
"12345", "6789a", "9876", "23467b"
How do we use a Linq statement in C# to select only the integers? In other
words, we only want to return 12345 and 9876. Thanks.

No comments:

Post a Comment