处理一个相当大的 C# 项目,该项目正在使用许多类似的变量,所以可以说我有这样的一块
double
TempAngle = 1,
AngleCountDown = HalfSight,
SightAngleFromCopter = 0;
我如何像我做方法一样记录它们(见下文)?
/// <summary>
/// general explanation
/// </summary>
/// <param name="a">some hole num</param>
/// <param name="b">some string</param>
public MainWindow( int a ,string b)
{}
最后我想做的是写类似的东西
/// <param name="TempAngle">some</param>
/// <param name="AngleCountDown">something</param>
/// <param name="SightAngleFromCopter">something else</param>
double
TempAngle = 1,
AngleCountDown = HalfSight,
SightAngleFromCopter = 0;