There you go :) Written in C# you can add using tags yourself I believe
Answer; A peripheral is a “device that is used to put information into or get information out of the computer.”[1]
There are three different types of peripherals:
Input, used to interact with, or send data to the computer (mouse, keyboards, etc.)
Output, which provides output to the user from the computer (monitors, printers, etc.)
Storage, which stores data processed by the computer (hard drives, flash drives, etc.)
Explanation: