Latest Answer: .NET Attributes provide the means for a developer to add meta-data that describes, or annotates, specific elements of code such as classes, methods, properties, etc. At compile time, the resulting metadata is placed into the Portable Executable (PE)file, ...
Latest Answer: Serialization :------------------Serialization in .NET allows the programmer to take an instance of an object and convert it into a format that is easily transmittable over the network, or even stored in a database or file system. This object will actually ...
Internal class Piston{}internal class Engine{private Pistone[] myPistones = new Piston[4]; public bool Ignition() { // some code..... return; }}public class Car{ private Engine myEngine = new Engine(); public void Start() { // put in keys etc........... if(myEngine.ignition()) { //some code ....
Which an instance constract of a struct type, which one of the following key workds behaves exactly as an output parameter of the struct type?1) value2) ref3) object4) this
Latest Answer: Indexers are one neat feature of C#. They allow us to access a particular class as it is an array. They are similar to the properties in means that they encapsulate method calls into more convenient representation of value access and value setting. Declaring ...
Latest Answer: The Main facts for Inheritence to any thing that is it should worked as Base. And Structure could not worked as Base due to it is Value type. So, Inheritence is not supported by Structure. ...
Latest Answer: A read only member is like a constant in that it represents an unchanging value. The difference is that a readonly member can be initialized at runtime, in a constructor as well being able to be initialized as they are declared. For examplepublic class ...
Latest Answer: There are two easy methods1) No programming: Load the EXE/DLL with ILDASM.exe if it is .Net programed than it will work otherwise it will throw error. 2) Programatically: Use reflection API to LoadAssembly. It it is not a .Net program it will throw exception. ...
Latest Answer: All dll's and exe's generated by .NET applciations are ASSEMBLIES. To test a .exe whether its a .NET assembly or not , you need to use following code.try{AssemblyName assemblyName = AssemblyName.GetAssemblyName(FullPATHofFile);Console.WriteLine("{0} - ...
View page << Previous 2 3 4 5 [6] 7 8 9 10 11 Next >>

Go Top