Example #1
0
        public static new string ToString()
        {
            var sb = new StringBuilder();

            sb.AppendLine("#中国疫情#");
            sb.AppendLine(InChina.ToString());
            sb.AppendLine("#全球疫情#");
            sb.AppendLine(InWorld.ToString());
            sb.AppendLine("数据更新时间: " + UpdateTime.ToString("yyyy-MM-dd HH:mm:ss"));
            sb.Append("数据来源: ").Append(ApiHost);
            return(sb.ToString());
        }
Example #2
0
 public override string ToString()
 {
     return(InWorld.ToString() + "; " + InChunks.ToString());
 }