diff --git a/VisualCard/Parts/Card.cs b/VisualCard/Parts/Card.cs index 0da826c..06cf7ca 100644 --- a/VisualCard/Parts/Card.cs +++ b/VisualCard/Parts/Card.cs @@ -70,7 +70,7 @@ public TPart[] GetPartsArray(PartsArrayEnum key) where TPart : BaseCardPa { // Check for version support if (!VcardParserTools.EnumArrayTypeSupported(key, CardVersion)) - return null; + return []; // Get the parts enumeration according to the type var type = typeof(TPart);