We can use vb or cs in App_code folder.
Include this in web.config,
<compilation>Then add VBDirectory & CSDirectory Folders in App_Code.
<codeSubDirectories>
<add directoryname="VBDirectory"></add>
<add directoryname="CSDirectory"></add>
</codeSubDirectories>
</compilation>