From what I recall, Malwarebytes (which is more or less the antivirus package to use if you're on Windows) is written in VB .NET. It using .NET in lieu of a native language gave it a leg up on certain other insecurely designed C++ based AV packages where it was possible for malware to exploit the AV scanning engine as a vector for arbitrary code execution.