How about if I use something like the ff...

Code:
public void SetParam(string pName, object pValue)
{
	switch
	{
		
	}	
}
Is it better than what I am currently doing?