Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC#var and type inferenceSingle-choice MCQ

Is there any runtime performance difference between using var and writing the explicit type here?

var list = new List<int>(); List<int> list2 = new List<int>();