3 ms·
Yes, records work with generics pretty much the same way they work with classes. You can do public record MktOrder<T>(T currency, int amount) { } var m
by smarks 7y ago
Yes, records work with generics pretty much the same way they work with classes. You can do
public record MktOrder<T>(T currency, int amount) { }
var m1 = new MktOrder<USD>(usd, amount);