标签如何获取stringbuilder的值 [英] how label get the value of stringbuilder

查看:133
本文介绍了标签如何获取stringbuilder的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先要获取字符串生成器的值,然后它将进入标签..

first of alla iwant to get the value of the string builder and the it would enter into the label..

推荐答案

StringBuilder sb = new StringBuilder();
sb.Append("I have no idea what I''m doing");
sb.Append("and should stop trying to be a developer now");
label.Text = sb.ToString();


这篇关于标签如何获取stringbuilder的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆