Is there anyway to initialize my class like an array or a dictionary, for example
private class A
{
private List<int> _evenList;
private List<int> _oddList;
...
}
and say
A a = new A {1, 4, 67, 2, 4, 7, 56};
and in my constructor fill _evenList and _oddList with its values.