Answers for "XML list of objects"

0

XML lists

/// <summary>
/// An enumeration containing the available robot actions. The available actions are:
/// <list type="bullet">
/// <item>
/// <description>Move forwards in a straight line.</description>
/// </item>
/// <item>
/// <description>Move backwards in a straight line.</description>
/// </item>
/// <item>
/// <description>Rotate to the left.</description>
/// </item>
/// <item>
/// <description>Rotate to the right.</description>
/// </item>
/// <item>
/// <description>Tells the robot to dig and obtain a soil sample.</description>
/// </item>
/// </list>
/// </summary>
public enum RobotAction
{
    Forward = 1,
    Backward,
    RotateLeft,
    RotateRight,
    Dig
}
Posted by: Guest on June-22-2021
0

XML lists

/// <summary>
/// An enumeration containing the available robot actions. The available actions are:
/// <list type="bullet">
/// <item>
/// <description>Move forwards in a straight line.</description>
/// </item>
/// <item>
/// <description>Move backwards in a straight line.</description>
/// </item>
/// <item>
/// <description>Rotate to the left.</description>
/// </item>
/// <item>
/// <description>Rotate to the right.</description>
/// </item>
/// <item>
/// <description>Tells the robot to dig and obtain a soil sample.</description>
/// </item>
/// </list>
/// </summary>
public enum RobotAction
{
    Forward = 1,
    Backward,
    RotateLeft,
    RotateRight,
    Dig
}
Posted by: Guest on June-22-2021

Browse Popular Code Answers by Language