G
Guest
Hi,
I am coming back to programming in C#, and perhaps I never came accross
this. Can someone point me in the right direction to research about them. For
instance, what do they mean in the following code:
<!-- From msdn web site content -->
// First attempt:
public List<string> PeopleIKnowInNewYork()
{
IEnumerable<PhoneBookEntrys> newYorkNumbers =
PhoneBook.FindListFor(“New Yorkâ€);
List<string> peopleIKnow = new List<string>();
foreach ( PhoneBookEntry ph in newYorkNumbers)
{
string name = string.Format(“{0} {1}â€, ph.FirstName, ph.LastName);
if ( RecognizePerson( name ) )
peopleIKnow.Add(name);
}
return peopleIKnow;
}
I am coming back to programming in C#, and perhaps I never came accross
this. Can someone point me in the right direction to research about them. For
instance, what do they mean in the following code:
<!-- From msdn web site content -->
// First attempt:
public List<string> PeopleIKnowInNewYork()
{
IEnumerable<PhoneBookEntrys> newYorkNumbers =
PhoneBook.FindListFor(“New Yorkâ€);
List<string> peopleIKnow = new List<string>();
foreach ( PhoneBookEntry ph in newYorkNumbers)
{
string name = string.Format(“{0} {1}â€, ph.FirstName, ph.LastName);
if ( RecognizePerson( name ) )
peopleIKnow.Add(name);
}
return peopleIKnow;
}