I replied that ASP.Net encompasses
both VB.Net and C#.Net - as far as I
know these are the two main sections
of ASP.Net. Is this right? Was he
talking nonsense or have I
misunderstood the whole concept of
.net for the last several years?
You talked nonsense. The interview would have been over there with me.
VB.Net and C#.Net are LANGUAGES, like C, Smalltalk etc.
ASP.NET is a framework for making web applications. It is part of the ,NET framework, but if you read the langauge specifications for VB.NET or C# then you find not a single reference to ASP.NET in them. Or any other part of the framework except low level things (IDisposable, IEnumerable used for using and foeach, for example).
There are other langauges you can use - ANY langauge that is compilable to .NET bytecode can use ASP.NET (or any other framework, like WInForms, WPF, the nice System.Data namespace for accessing databases).
To compare your answer with cars, you just said the main element of a car is the brand of the fuel station. No relation at all.