Skip to content

+EA 23.67 Hotfix 5 - Plugin.BaseCore

December 28, 2024

1 file modified.

Important Changes

None.

ClassExtension

@@ -493,6 +493,10 @@ public static TValue Remainder<TValue>(this IList<TValue> source, int divider)

cs

	public static TValue FirstItem<TKey, TValue>(this IDictionary<TKey, TValue> source)
	{
		if (source == null) 
		{ 
			return default(TValue); 
		} 
		return source[source.First().Key];
	}