Monthly Archives: April 2014

Emulator couldn’t determine the host IP address

If you encountered the the error “Emulator couldn’t determine the host IP address” when trying to debug windows phone app in the emulator. You may try to head over to Network Connection and ensure that “vEthernet (Internal Ethernet Port Windows … Continue reading

Posted in Windows Phone | Tagged , , , , | 9 Comments

Collection was modified; enumeration operation may not execute

Attempting to remove any element from a collection within a foreach loop will result in the above mentioned error. To stop the error simply add a .ToList() or .ToArray() within the foreach loop as seen below. List distinctList = new … Continue reading

Posted in C# | Tagged , , , | 1 Comment