Undocumented overload of string.Split() ?

Posted by Neil N on Stack Overflow See other posts from Stack Overflow or by Neil N
Published on 2010-05-25T16:45:35Z Indexed on 2010/05/25 16:51 UTC
Read the original article Hit count: 183

According to both Intellisense and MSDN doc on string.Split, there are no parameterless overloads of string.Split. Yet if I type in

string[] foo = bar.Split();

It compiles. And it works. I have verified this in both Visual Studio 2008 and 2010. In both cases intellisense does not show the parameterless overload.

Is there a reason for this? Are there any other missing overloads from the MSDN/Intellisense docs? Usually browsing through overloads in intellisense is how I best determine which overload to use. I'd hate to think I am missing other available options throughout the .Net framework.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about visual-studio