the second option defines an extension method for ...
# announcements
n
the second option defines an extension method for String, whereas the first one creates a method that works on a string object but the method itself is referenced through toCapitalCase (I think)