Monday 15 August 2011

c# - Common Type of List -


I have a list of strings and find out whether they are any other default C # types other than string Additionaly I

UPDATE

Is this an existing method that does other than Cascade of TryParse?

The source of these stars is an excellent CSV file for example

ID; company; average salary; Installation date
123; Microsoft; 2350.78; 01.02.1911
65; Apple; 2100.50; 16.07.1934

For people not explicitly for computers, but if you add this extra line then the most specific type of column "Id" will be the string.

4A; IBM; 2800.0;

You can try to use Regex to know that a string can be converted in some form, here are some regex examples < / Div>

No comments:

Post a Comment