Home
|
Contact us
Interface to support foreach loop in C#
Which interface(s) must a class implement in order to support the foreach statement?
Required interface for foreach statement:
A class must implement the
IEnumerable
and
IEnumerator
interfaces to support the foreach statement.
Category:
OOPS Faqs Concepts Faqs, Interview Questions & Answers in C#
Ask New Questions
Microsoft.Net Framework
.Net 2.0 Namespaces
.Net Assemblies
OOPS Faqs in C#
ASP.Net Faqs
ASP.Net 2.0 Faqs
Web Services Faqs
ADO.Net Faqs
Database Faqs
OOPS Faqs
IT Project Management
© DotNetInterviewFaqs.com