Formats a version by stripping all zero values up to the trimTokens count provided. By default displays Major.Minor and then displays any Build and/or revision if non-zero
public static string FormatVersion(string version, int minTokens, int maxTokens)
Parameters
version
Version to format
minTokens
Minimum number of component tokens to display
maxTokens
Maximum number of component tokens to display
Overloads:
See also:
Class VersionExtensions© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic