It's probably because String is an IEnumerable of Char. Obviously not the result you were looking for, but technically correct.
It might be better if we provided a warning/error for this particular case though. On 25 Feb 2012, at 16:26, pascal <[email protected]> wrote: > You just rock! > > Thanks a bunch! > > One flaw: When I use a return value of type STRING for the > GetConnectionString instead of IEnumerable<String> it works not then I > get the first char of the connectionstring :P WHY? > > -- > You received this message because you are subscribed to the Google Groups > "MbUnit.User" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/mbunituser?hl=en. > -- You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mbunituser?hl=en.
