C#C
C#2y ago
r2

✅ :white_check_mark: Compiler/ReSharper/something is telling lies (this is about overloads)

Sorry for this. Only engage if you're bored.

I've got

c#
// ...
public static IEnumerable<T> GetUserInput<T>(...) {...};
public static T GetUserInput<T>(...) {...};
// ...


and something is screaming

Member with the same signature is already declared

at me. Well, a member with the same signature is not declared! So, what gives?
Was this page helpful?