Question from the C# - Fundamentals test

What is the new syntax for creating an object in C# 9.0?

Medium

Which syntax has been introduced into C# 9.0 for creating a new instance of an object ? Here we want to create an Animal whose name is "Felix" :

Author: AuroreStatus: PublishedQuestion passed 61 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!