Microsoft
Software
Hardware
Network
Question : C# Brain Bench Question
I'm new to this 'IEnumerable interface'. Can someone say a word or two about it as in contrast to the world before .NET ?
Thanks!
Which one of the following is a limitation resulting from a class that has an indexer property but does NOT either implement the IEnumerable interface or any of its members?
Choice 1.The indexer must return an "object" type.
Choice 2.Neither the "for" nor "foreach" statements is supported.
Choice 3.The "foreach" is not supported.
Choice 4.The indexer can have only one parameter.
Choice 5.The class cannot implement a GetEnumerator method.
Answer : C# Brain Bench Question
Hello,
IEnumerable interface is the base for using foreach statement.
Although you can use a for loop; a foreach statement is easier to use.
Random Solutions
I have rules that automatically move email into Outlook 2007 sub folders. Only the most important email stays in my Inbox. Need a way of displaying all Unread Mail that is only in my Outlook Inbox
Out-of-Office rule doesn't forward emails sent to distribution list
2 node cluster won't failover to one node
Formatting a 60gb hard drive fails in Disk Management
Win7/ VS 2010 / SQL 2008 Express OK for dev platform
Select Statement with Function
Message Box in access to display table cell value
LSASRV Event Log errors, EventID 40960
Counting the number of cells in a given range that begin with a specific letter.
LinkMasterFields and LinkChildFields?