update 1.0.0.3

This commit is contained in:
Chenx221 2023-10-01 20:06:05 +08:00
parent 2b81bd6f24
commit 2a064be75f
2 changed files with 5 additions and 4 deletions

View File

@ -31,8 +31,8 @@
<Description>批量转换图像为PDF的小工具</Description> <Description>批量转换图像为PDF的小工具</Description>
<Product>ConsoleApp1</Product> <Product>ConsoleApp1</Product>
<Copyright>Copyright © Chenx221 2023</Copyright> <Copyright>Copyright © Chenx221 2023</Copyright>
<AssemblyVersion>1.0.0.2</AssemblyVersion> <AssemblyVersion>1.0.0.3</AssemblyVersion>
<FileVersion>1.0.0.2</FileVersion> <FileVersion>1.0.0.3</FileVersion>
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion> <SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
<StartupObject>ConsoleApp1.Program</StartupObject> <StartupObject>ConsoleApp1.Program</StartupObject>
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>

View File

@ -8,6 +8,7 @@ using System.Linq;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Text; using System.Text;
using System.Numerics;
namespace ConsoleApp1 namespace ConsoleApp1
{ {
@ -157,8 +158,8 @@ namespace ConsoleApp1
int matchCount = Math.Min(matchesX.Count, matchesY.Count); int matchCount = Math.Min(matchesX.Count, matchesY.Count);
for (int i = 0; i < matchCount; i++) for (int i = 0; i < matchCount; i++)
{ {
int numX = int.Parse(matchesX[i].Value); BigInteger numX = BigInteger.Parse(matchesX[i].Value);
int numY = int.Parse(matchesY[i].Value); BigInteger numY = BigInteger.Parse(matchesY[i].Value);
int numComparison = numX.CompareTo(numY); int numComparison = numX.CompareTo(numY);
if (numComparison != 0) if (numComparison != 0)