When using the Excel interop with C#, it is advised that you never use "two dots" on one object. How do I avoid doing that when trying to use one of the built in enum types such as would happen when I want to change the axis limits of a chart:
Excel.Axis ax = chart.Axes(Excel.XlAxisType.xlValue);
note I have declared
using Excel = Microsoft.Office.Interop.Excel;
So my question is how do I write Excel.XlAxisType.xlValue
with out using two dots?