test

时间:2021-09-07 06:10:50   收藏:0   阅读:9
public class Telphone
    {
     private   int telephoneNumber;
        public Telphone( int tel)
        {
            this.telephoneNumber = tel;
        }
        public override string ToString()
        {
           // return   string.Format($"{telephoneNumber,-15:###-####-####}");
更好 
          
        }

 

原文:https://www.cnblogs.com/cdaniu/p/15232994.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!