Most existing malware is written in C, C++, or C#, which have all been around for decades. C and C++ in particular are known for their performance, and C# is commonly used with the . NET framework introduced by Microsoft to allow developers to create software for many platforms.