I'm working on a calculator that uses polynomials, and I was wondering if I could make some sort of "custom type" to use instead of and array of lists of strings.
So, for example, instead of List<string>[] polynomial
I'd like to write Polynomial polynomial
, where the Polynomial
type is a List<string>[]
(which means I could use it the same exact way I currently use the List<string>[]
, so, for example, I could access the values with polynomial[n][i] like I do now)
Is there any way to do this?