Personally I would do something like this,
public class SomeClass
{
public List<SqlParameter> SPPC;
public SomeClass(someType someParameter)
{
SPPC = this.GetType().GetMembers().ToList();
// Or you could restrict it to only fields or properties using Where()
SPPC = this.GetType().GetMembers().Where(member => member which is of type such).ToList();
// Or use Select() to get only the value or the name of the members
SPPC = this.GetType().GetMembers().Select(member => get member value).ToList();
}
}
You just need to wrap your head around what you need to get from these members as using Reflection can get pretty confusing at times.
Without Reflection
Now, if you don't want to use Reflection, you will need to manually add each on them as you initialize them, as such,
public class SomeClass
{
public List<SqlParameter> SPPC;
public SomeClass(someType someParameter)
{
SPPC.Add(new SqlParameter());
SPPC.Add(new SqlParameter());
SPPC.Add(new SqlParameter());
...
}
}