Categories
C#.NET Microsoft Visual Studio

Visual Studio C#.Net – “Cannot convert method group ‘ToString’ to non-delegate type ‘string’. Did you intend to invoke the method?”

Cannot convert method group ‘ToString’ to non-delegate type ‘string’. Did you intend to invoke the method?

in Italian:

Impossibile convertire il gruppo di metodi ‘ToString’ nel tipo non delegato ‘string’. Si desiderava richiamare il metodo?

Solution:
You miss the parentheses: ToString()

Did my solution solve your problem?

2 replies on “Visual Studio C#.Net – “Cannot convert method group ‘ToString’ to non-delegate type ‘string’. Did you intend to invoke the method?””

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.