[ad_1]
How about this:
return (1 + s.Take(Pos).Count(c => c == '\n'));
[ad_2]
solved Convert String Extension to Linq [closed]
[ad_1]
How about this:
return (1 + s.Take(Pos).Count(c => c == '\n'));
[ad_2]
solved Convert String Extension to Linq [closed]