I am using an abridged version for a class that looks like this:
using NodeSteps = Tuple<Node, int>;
Node is a class defined by me. This works fine, but the problem here is that Node is a general framework requirement.
My questions are as follows:
1. How these typedefs are called in C #. I know that they are not completely typed, but it was the most similar that I could think of.
2. How can I create a generic version?
using NodeSteps<T> = Tuple<Node<T>, int>;
I noticed that this is not a way to do this. I would also like to indicate that T is a structure.
source share