I'm trying to document my code and for some reason my example code is not showing up in the object browser window. Should my code show up when I do this?
/// <para>The color sensor contains 4 sensors. (C)lear which does not contain a light filter, (R)ed, (G)reen, and (B)lue
/// which contain filters. CRGB Returns an integer with each byte in the integer containing the level of each filter.</para>
/// <returns>Returns Clear, Red, Green, and Blue contained in a 4 byte integer.</returns>
/// public static void Main()
/// Colorimeter.ADJD_S371_Q999 myColorSensor = new ADJD_S371_Q999();
/// //Poll the sensor to update the levels
/// int rgb = myColorSensor.CRGB;
/// int redMask = 0x00ff0000;
/// int temp;
/// byte level;
/// //Mask the unused bytes
/// temp = (rgb & redMask);
/// //Shift the bytes so the red byte is in the least signifcant position
/// level = (byte)(temp >> 16);
I think he's trying to use the <example></example> XML documentation tags to provide an example of how to use some code that's not shown here.
I don't think that the Object Browser supports these tags. Most of the tags are intended to be used with specialized documentation-generating tools (like NDoc), some of which can produce a set of web-pages similar to the classic MSDN page layout.