© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
11 replies
Ownix
❔ Argument 1: cannot convert from 'Ardalis.Result.Result' to 'TResponse'
https://dotnetfiddle.net/uebISh
Line 96
. I have a contsraint that says
where TResponse : Result
where TResponse : Result
so I am very confused about this error
.
Result.Error("Whatever.");
Result.Error("Whatever.");
IS Ardalis
.Result
.Result type
.
.
.
Argument 1: cannot convert from 'Ardalis.Result.Result' to 'TRespon...
Argument 1
: cannot convert from
'Ardalis
.Result
.Result
' to
'TResponse
'
| Test your C
# code online with
.NET Fiddle code editor
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Iterator (Argument 1 cannot convert from 'Coding.Exercise.Nodechar[]' to 'char*' Compilation failed)
C
C# / help
4y ago
✅ Cannot convert from anonymous type
C
C# / help
4y ago
✅ Cannot convert from string[] to 'char' [SOLVED]
C
C# / help
4y ago