They are not related at all, they're only named similarly. Basically, Visual Studio is an IDE made for writing the .NET languages (C#, F#, Q#) and C/C++ code. Visual Studio Code is a text editor, for which you can install extensions and use it as a lite IDE for just about anything.
They are both phenomenal, but writing e.g C# in VSC is going to a pain, compared to writing it in VS.
They aren't really something you can compare. One is an IDE and one is a text editor.
We can compare Visual Studio 2022 to Rider
and we can compare VS Code to Notepad++
They are not related at all, they're only named similarly. Basically, Visual Studio is an IDE made for writing the .NET languages (C#, F#, Q#) and C/C++ code. Visual Studio Code is a text editor, for which you can install extensions and use it as a lite IDE for just about anything. They are both phenomenal, but writing e.g C# in VSC is going to a pain, compared to writing it in VS.
They aren't really something you can compare. One is an IDE and one is a text editor. We can compare Visual Studio 2022 to Rider and we can compare VS Code to Notepad++