C#版本号最大值

by Alpha 3. May 2010 09:22

C#版本号格式如下:

major.minor[.build[.revision]]

MSDN上面说最大值可以取到Int32.MaxValue,也就是说可以到2,147,483,647。实际测试发现只能到65534

所以无法把这样的日期格式(20100503)存入版本号,100503的也不行,最后采用的方法是用这样的格式(10001),表示2010的第一天。

我的版本号格式是这样的:
1.0.10001.1

Tags: Views:803

.Net相关

Comments

5/4/2010 2:17:40 PM #

Naruto Manga Spoilers

Very interesting post. I’ll be spending more time with certain areas. Well done and good luck with your work. Wish I have the luxury of time to consider using the benefits these site can offer. Thanks for the share. I made a copy of the list and will check all.

Naruto Manga Spoilers United States |

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen  浙ICP备09023819号  

关于作者

Alpha

1.男
2.已婚
3.网虫
4.宝宝叫yoyo

Calendar

<<  September 2010  >>
MondayTuesdayWednesdayThursdayFridaySaturdaySunday
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

RecentComments

Comment RSS