开发者

Converting Array Type in C# [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

Convert string[] to int[] in one string of code using LINQ

I have an array of strings I want to c开发者_JAVA百科onvert it to array of int

is there any way to convert it directly without looping

I mean without use foreach, for , LINQ select statement, etc.

Any suggestion please.


Array.ConvertAll: http://msdn.microsoft.com/en-us/library/exc45z53.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜