我有这个:
string dataNow = DateTime.Today.tostring();
string dateAfter = dateNow + ( 20 days);
Run Code Online (Sandbox Code Playgroud)
如何在20天内找到日期?
如何查找当月的天数?
string test ="0123456789 0123456789 0123456789 0123456789 01234567890";
TextBox.Text = test;
Run Code Online (Sandbox Code Playgroud)
问题是字符串没有跳到新的行,
|------------------------------|
| |
| |
|0123456789 0123456789 01234567|89 0123456789 01234567890
| |
| |
|<----------<------>---------->|
Run Code Online (Sandbox Code Playgroud)
怎么解决?
1)字符串从左上角开始.
2)字符串不能越过框