Eathernet2 EathernetUdp2 compile errors

Please use code tags (</> button on the toolbar) when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup, leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier to read your code and to copy it to the IDE or editor. If your browser doesn't show the posting toolbar then you can just manually add the code tags:
[code]``[color=blue]// your code is here[/color]``[/code]
Using code tags and other important information is explained in the How to use this forum post. Please read it.

CCing @232 because I know they love code tags:

232:

The solution to the errors you got is to change this line:

EthernetUDP = Udp;// To send & receive packets using UDP

to:

EthernetUDP Udp;// To send & receive packets using UDP

Next you will encounter some new errors about Udp.send(). There is no such function. I recommend you to start with File > Examples > Ethernet2 > UDPSendReceiveString, the associated tutorial:
https://www.arduino.cc/en/Tutorial/UDPSendReceiveString
and the library reference:

Note that you send UDP packets in a three part process. First Udp.beginPacket(), then Udp.write(), then Udp.endPacket().