Why is port a string and not an integer?

The Port method returns a string and not an integer. What is the reason for that and is it safe to prefix the port with “:”?