Arrays | Transformations when data is converted to ASP.net pages, most of them are in the form of text. Sometimes in order to output, only use the display or implicit conversion is not, you need this section of the data conversion.
String output:
int intage=21;
String strage=intage.tostring ();
When you convert a datetime value, you can specify the output style for the time by placing an optional argument within the parentheses. Eg:dateCou.ToString ("D");
Format code and its implication:
d--is given in the following format: Thursday,september 21,2001
C # does not limit the size of the array, only memory to limit it, but in practice, when there are more than three-dimensional arrays, you need to consider other solutions, such as objects.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.