You can better understand Razor if you look at the C# source code that is generated from Blazor Razor source code files. Visual Studio converts blazor razor source code files to a DLL file. You convert that DLL file to C# source code using the C# decompiler app ilspy.