Size and Degree Anti-Ramsey Numbers