but my plan is to learn how to use visual studio ( having an idea only )
Except Visual Studio is not a programming language; it's an integrated development environment or IDE. Similar to Xcode but on the Windows side of things. Until you understand the difference between an IDE and a programming language, I think you are going to have difficulties learning how to program, or even asking the right questions when you try to seek help.