We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bc4e30 commit ff3ddbdCopy full SHA for ff3ddbd
src/FirebirdSql.Data.FirebirdClient/Common/Extensions.cs
@@ -48,7 +48,11 @@ public static IntPtr ReadIntPtr(this BinaryReader self)
48
49
public static string ToHexString(this byte[] b)
50
{
51
+#if NET5_0_OR_GREATER
52
+ return Convert.ToHexString(b);
53
+#else
54
return BitConverter.ToString(b).Replace("-", string.Empty);
55
+#endif
56
}
57
58
public static IEnumerable<IEnumerable<T>> Split<T>(this T[] array, int size)
0 commit comments