回答編集履歴
1
修正
test
CHANGED
@@ -66,6 +66,16 @@
|
|
66
66
|
|
67
67
|
if (ReferenceEquals(yp, null)) return -1;
|
68
68
|
|
69
|
+
if (xp is string)
|
70
|
+
|
71
|
+
{
|
72
|
+
|
73
|
+
if ((string)xp.Length == 0) return 1;
|
74
|
+
|
75
|
+
if ((string)yp.Length == 0) return -1;
|
76
|
+
|
77
|
+
}
|
78
|
+
|
69
79
|
var comparable = xp as IComparable;
|
70
80
|
|
71
81
|
if (comparable == null) continue;
|