@Bronumski's answer answers your direct question, but you donβt need to enter a class name, instead for a type that requires an import statement, you must partially enter the class name and then use Shift-Alt-Space: consider this example:

Suppose you want to import StreamReader - you enter the first few characters, press Shift + Alt + Space , then press Enter, and the class name and import will be added for you.
source share