cathei
cathei
CC#
Created by error ♡ on 2/12/2025 in #help
Generics, Constraints and a simple question
Even if it supported on classes it may not be as useful as you think, most of generic classes work invariantly (as in T used as both input and output)
9 replies
CC#
Created by error ♡ on 2/12/2025 in #help
Generics, Constraints and a simple question
Then your T can be covariant
9 replies
CC#
Created by error ♡ on 2/12/2025 in #help
Generics, Constraints and a simple question
Your Param<T> needs to be interface instead as IParam<out T>
9 replies
CC#
Created by error ♡ on 2/12/2025 in #help
Generics, Constraints and a simple question
i.e. IParam<Parent>, not Param<IParent>
9 replies
CC#
Created by error ♡ on 2/12/2025 in #help
Generics, Constraints and a simple question
Covariance only works for interfaces
9 replies
CC#
Created by Joch on 1/14/2025 in #help
SQL Query Filter by date range
It happens. Get some sleep!
19 replies
CC#
Created by Joch on 1/14/2025 in #help
SQL Query Filter by date range
No need to sorry, problem solved? :catlaugh:
19 replies
CC#
Created by Joch on 1/14/2025 in #help
SQL Query Filter by date range
Right, so did you put wrong data in second table? :catthinking:
19 replies
CC#
Created by Joch on 1/14/2025 in #help
SQL Query Filter by date range
Is year 2028 intended?
19 replies
CC#
Created by Joch on 1/14/2025 in #help
SQL Query Filter by date range
Is there a reason that it should not be showing? 2025-01-01 is included in that range
19 replies
CC#
Created by Astraxes on 1/13/2025 in #help
Help with C# student task
You need base class for all vehicle so start from that?
21 replies
CC#
Created by Astraxes on 1/13/2025 in #help
Help with C# student task
Show it and explain where you get stuck
21 replies
CC#
Created by Astraxes on 1/13/2025 in #help
Help with C# student task
You should start writing some code
21 replies
CC#
Created by Astraxes on 1/13/2025 in #help
Help with C# student task
Just post your task and ask what part you having trouble with. Then experienced people can give you advices. That’s your best bet here
21 replies
CC#
Created by Astraxes on 1/13/2025 in #help
Help with C# student task
I doubt anyone would willing to be personal tutor. That’s simply too much responsibility and involvement for volunteer help really.
21 replies
CC#
Created by Izsák on 12/11/2024 in #help
hello everyone im trying to make a 2d topdown game in unity and the script i wrote isn't working
$helloworld
55 replies
CC#
Created by Izsák on 12/11/2024 in #help
hello everyone im trying to make a 2d topdown game in unity and the script i wrote isn't working
Before following Unity tutorial
55 replies
CC#
Created by Izsák on 12/11/2024 in #help
hello everyone im trying to make a 2d topdown game in unity and the script i wrote isn't working
Learn C# first
55 replies
CC#
Created by Archion on 12/12/2024 in #help
Variable is 0
You are making new array for every j loop :catthinking:
11 replies
CC#
Created by jborean on 11/20/2024 in #help
Using stackalloc span in if statement
For example you might return entry; that ends up exposing invalid value outside of the method. scoped local introduced to ensure that the variable will not escape current scope. I believe it is also partially backward-compatibility reason involved that we need to explicitly put keyword for it.
5 replies