No, Enum.TryParse returns true only for valid enum values. If the input value is a numerical value that does not correspond to a valid enum value, Enum.TryParse will still return false.
Copyright QStack.ai, 2010-2023. Content on this site is licensed under the Creative Commons Attribution Share Alike 3.0 license.