r2
r2
CC#
Created by r2 on 1/25/2024 in #help
✅ :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>(...) {...};
// ...
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?
9 replies