How do you make infrastructure code only visible in namespace?
问题 I have an implementation of the Shunting-Yard algorithm that I am trying to integrate clearly into our framework. Currently I have it all packed into a class with a simple public interface. namespace MathematicalParser { public class ExpressionParser { public ExpressionParser(string expression, List<string> variables); public double GetNumericValue(Dictionary<string,double> variableValues); } } Inside this class there are a lot of helper classes, helper enums, static variables etc to map