C# get class and method summary

2021-03-07 01:26

阅读:620

///


///Class Summary, Xml Comments Summary
///

public class XmlCommentsSummary
{
///
/// Print DateTime Now
///

public void PrintTime()
{
Console.WriteLine($"Now is {DateTime.Now.ToString("yyyyMMddHHmmssffff")}");
}

///


/// Print random guid
///

public void PrintGuid()
{
Console.WriteLine($"Guid is {Guid.NewGuid().ToString()}");
}
}


评论


亲,登录后才可以留言!