• David Phillipps @lemmy.sedimentarymountains.com
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    We had an assignment to make a calculator app in c#. For the equals button I made it run shell(shutdown -s -f -t 0). It would schedule a shutdown to happen instantly and forcefully close everything. I submitted this assignment. My teacher said he was marking them and when he got to my assignment it shut down his computer and he lost his spreadsheet with everyone’s grade. He was surprisingly good natured about it.