什么是c#中的string.Format [英] What is string.Format in c#

查看:91
本文介绍了什么是c#中的string.Format的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请解释什么是string.Format。是否有任何类似的转换,演员,string.Format和解析。如果向我详细解释,我将非常感激。

Please explain what is string.Format. Is there any similarlities of convert, Cast, string.Format and parse. I will be very grateful if explain me details.

推荐答案

没有细节。而你对相似性的看法并没有明确定义来严肃地讨论它(不,请不要澄清,只是忘了它)。您所需要的只是:

http:// msdn。 microsoft.com/en-us/library/system.string.format.aspx [ ^ ]。



您将在此MDSN帮助页面中找到足够的示例来查看它的内容确实如此。



-SA
There are no detail. And your idea of "similarity" is not well-defined to discuss it seriously (no, please don''t clarify, just forget it). All you need is this:
http://msdn.microsoft.com/en-us/library/system.string.format.aspx[^].

You will find enough examples in this MDSN help page to see what it really does.

—SA


这篇关于什么是c#中的string.Format的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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