Would you tell your ex, if you were pregnant with his child?

If they aren't married, the mother of the child isn't legally obligated to tell him, right?
Would you tell your ex, if you were pregnant with his child?
Post Opinion