- What is .NET Assembly?
- Assembly is logical grouping of files.
- What is meant by .NET Programmers?
- How can use CSC.exe to compile CSharp file and generate assembly file?
- What are different important switches of csc.exe command?
- Write CSharpClass and VBClass source code for Hello World using Hello() and World() methods respectively. Compile these files and generate DLL files. Create another Program.cs file which uses/references these DLL files. Compile the Program file and generate EXE file.
- Explain the following commands in CMD:
- > type Program.cs
- > notepad Test.vb
- >vbc /target:library /out:VBAssembly.dll VBClass.vb
- >csc /target:library /out:CSharpAssembly.dll CSharpClass.cs
- >csc /target:exe /r:CSharpAssembly.dll /r:VBAssembly.dll /out:Program.exe Program.cs
- >ildasm /out:notes.txt CSharpAssembly.dll
- How many modules are generally in a .NET assembly?
- How is module different from .NET assembly?
- How to compile a CSharp file as module using csc.exe command?
- Create two modules and combine them using csc commands? (Hints use /addmodule switch)
- What is meant by multi-file assembly?
- Create ModuleA and ModuleB. Combine them as Assembly1.Next, Create ModuleC and ModuleB. Combine them as Assembly2. Next, run both assemblies.
- What is assembly manifest?
- Suppose that a CSharp file without Main method is compiled into EXE assembly file. Will this assembly have entrypoint? On the other hand, suppose that a CSharp file with Main method is compiled into DLL assembly file. Will this assembly have entrypoint?
- What is difference between Console Application and Windows Application at assembly level?
- Is JIT compiler invoked when EXE file is run?
- Explain about Assembly Name, Version, Public Key Token and Culture. How does they help in identifying an assembly uniquely?
- How is AssemblyInfo.cs file created in Visual Studio? What information does it contain?
- How is Strong Name key file generated using command line? What does strong name key file?
- What is .NET Global Assembly Cache? Do we still use it in .NET Core?
Friday, June 20, 2025
C# Assembly Related Questions
Subscribe to:
Post Comments (Atom)
Hot Topics
-
Objectives To provide detailed information about ListBox Types of ListBox Using ListBox in VBA applications Please read the post till end...
-
The @page directive The @page directive in ASP.NET Core Razor Pages is crucial because it designates a Razor file as a Razor Page, allowin...
-
Excel VBA To Retrieve data from MS-Access Table By Ajeet Kumar Excel Range Object has a very interesting method called "CopyFromR...
No comments:
Post a Comment