What is the most common type of computer virus?

What is the most common type of computer virus?

In computer system security, an infection is a type of malicious code or program that self-replicates by inserting its code into other programs. As an outcome, contaminated computers can spread out the virus to other computers. see this website