Cobie Smulders admitted to David Letterman that she's pretty much in denial about "How I Met Your Mother" coming to an end. The actress appeared on "Late Show" and said that after nine years, it's going to be hard to let go of "the best job in the world."

"I can’t believe I’ve been I’ve been employed as an actress for nine years straight!" she marveled. "I just love everybody so much. I think it’s gonna be the hardest to say goodbye to the crew, and not be able to see everybody in the morning at craft service."

Letterman tried to lift her spirits by introducing her to something he's apparently just learned about. He suggested they take a couple of selfies together during the interview.

Smulder's got some time before she has to start those goodbyes, too. "HIMYM" isn't even halfway through its final season. And she's keeping busy outside the show. Her latest movie, "Delivery Man" with Vince Vaughn, hits theaters November 22. Plus, her recurring role as Maria Hill in the Marvel Cinematic Universe means she could pop up on any number of Marvel projects.

Catch Cobie Smulders on the final season of "How I Met Your Mother," Mondays at 8 p.m. EST on CBS. "Late Show with David Letterman" airs weeknights at 11:35 p.m. EST on CBS.

TV Replay scours the vast television landscape to find the most interesting, amusing, and, on a good day, amazing moments, and delivers them right to your browser.

Related on HuffPost:

Loading Slideshow...
  • 'Late Show With David Letterman'

    Airs weeknights at 11:35 p.m. ET on CBS.

  • 'Jimmy Kimmel Live'

    Airs weeknights at 11:35 p.m. ET on ABC.

  • 'The Tonight Show With Jay Leno'

    Airs weeknights at 11:35 p.m. ET on NBC.

  • 'Conan'

    Airs Monday through Thursday at 11 p.m. ET on TBS.

  • 'Chelsea Lately'

    Airs weeknights at 11 p.m. ET on E!

  • 'The Daily Show With Jon Stewart'

    Airs Monday through Thursday at 11 p.m. ET on Comedy Central.

  • 'Watch What Happens: Live'

    Airs Sunday through Thursday at 11 p.m. ET on Bravo.

  • 'The Colbert Report'

    Airs Monday through Thursday at 11:30 p.m. ET on Comedy Central.

  • 'Totally Biased With W. Kamau Bell'

    Airs Thursdays at 11 p.m. ET on FX.

  • 'BrandX With Russell Brand'

    Airs Thursdays at 11:30 p.m. ET on FX.

  • 'The Late Late Show With Craig Ferguson'

    Airs weeknights at 12:35 p.m. ET on CBS.

  • 'Late Night With Jimmy Fallon'

    Airs weeknights at 12:35 p.m. ET on NBC.

  • 'Real Time With Bill Maher'

    Airs Friday nights at 11 p.m. ET on HBO.

  • 'Last Call With Carson Daly'

    Airs weeknights at 1:35 a.m. ET on NBC.