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
Fox 9 Microsoft Visual Fox Pro Support Library Error
Putting a variable into SQL
read xml object
There is not enogugh memory to complete the automation object operation on the chart object
Outlook 2007 opens with choose profile
Email recipients in BCC field can see eachother
To know 31st working date from the date entered
Exchange 2007 SRV upgrade/migration to anthoer Exchange 2010 SRV gone wrong, what would you suggest guys
hotmail is blocking IP
Unable to query for computers in the network - Windows SBS 2008 Console