This commit is contained in:
PastSaid
2024-03-11 14:47:23 +08:00
parent 6dd1816c96
commit 08d8878eef
202 changed files with 274 additions and 246 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ExtensionMethods
{
public static class ObjectExtension
{
public static string ToSafeTurnString(this object obj)
{
if (obj == null)
return string.Empty;
return obj.ToString();
}
}
}