C# 4.0 introduced several new features including optional and named parameters, enhanced COM interoperability, covariance and contravariance, and dynamic types. IEnumerable<T> represents a collection that can be iterated over while List<T> is a specific implementation of a collection that implements IEnumerable<T> and allows indexing, insertion, removal and resizing operations.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
1K views
C# Interview Questions
C# 4.0 introduced several new features including optional and named parameters, enhanced COM interoperability, covariance and contravariance, and dynamic types. IEnumerable<T> represents a collection that can be iterated over while List<T> is a specific implementation of a collection that implements IEnumerable<T> and allows indexing, insertion, removal and resizing operations.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
C# interview questions
1)What are the new features introduced in c# 4.0?
This is very commonly asked c# interview question. This question is basically asked to check, if you are passionate about catching up with latest technological advancements. The list below shows a few of the new features introduced in c# 4.0. If you are aware of any other new features, please submit those using the from at the end of this post. 1. Optional and Named Parameters 2. COM Interoperability Enhancements 3. Covariance and Contravariance 4. Dynamic Type Introduction 2)What's the difference between IEnumerable<T> and List<T> ?
Risk Analytics: From Concept to Deployment (World Scientific Financial Data Analytics), 2nd Edition Edward H K Ng - Download the ebook now to never miss important information