Skip to content

Why Compiler Error CS0311? #78130

Answered by 333fred
CodingOctocat asked this question in Q&A
Apr 12, 2025 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

C# does not do inference through constraints. See dotnet/csharplang#6930.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@CodingOctocat
Comment options

@CyrusNajmabadi
Comment options

@CodingOctocat
Comment options

@333fred
Comment options

Answer selected by CodingOctocat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants