提交小游戏项目

This commit is contained in:
2026-07-06 16:27:14 +08:00
commit 2a717c6a2f
7575 changed files with 710847 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
namespace TowerClimberChronicles
{
public static class StringExtend
{
public static double ToDouble(this string str)
{
double temp = 0d;
double.TryParse(str, out temp);
return temp;
}
public static float ToFloat(this string str)
{
float temp = 0;
float.TryParse(str, out temp);
return temp;
}
public static bool IsNullOrWhiteSpace(this string str)
{
return string.IsNullOrWhiteSpace(str);
}
}
}