What is the difference between Convert.toString and .toString() method ?
.NET INTERVIEW QUESTIONS - What is the difference between Convert.toString and .toString() method ? Consider this code. int i =0; MessageBox.Show(i.ToString()); MessageBox.Show(Convert.ToStri ng(i));We can convert the integer “i” using “i.ToString()” or “Convert.ToString” so what’s the difference... 2010-05-04, 4598👍, 0💬
How to prevent my .NET DLL to be decompiled?
.NET INTERVIEW QUESTIONS - How to prevent my .NET DLL to be decompiled? By design .NET embeds rich Meta data inside the executable code using MSIL. Any one can easily decompile your DLL back using tools like ILDASM (owned by Microsoft) or Reflector for .NET which is a third party. Secondly there are... 2010-05-04, 8057👍, 0💬
What is CODE Access security (CAS)?
.NET INTERVIEW QUESTIONS - What is CODE Access security (CAS)? CAS is part of .NET security model that determines whether or not a piece of code is allowed to run and what resources it can use while running. Example CAS will allow an application to read but not to write and delete a file or a resour... 2010-04-27, 4240👍, 0💬
What is the difference between System exceptions and Application exceptions?
.NET INTERVIEW QUESTIONS - What is the difference between System exceptions and Application exceptions? All exception derives from Exception Base class. Exceptions can be generated programmatically or can be generated by system. Application Exception serves as the base class for all applicationspeci... 2010-04-27, 5646👍, 0💬
What is the difference between VB.NET and C# ?
.NET INTERVIEW QUESTIONS - What is the difference between VB.NET and C# ? This is the most debatable issue in .NET community and people treat there languages like religion. Its a subjective matter which language is best. Some like VB.NET’s natural style and some like professional and terse C# syntax... 2010-04-20, 4323👍, 0💬
What is concept of Boxing and Unboxing ?
.NET INTERVIEW QUESTIONS - What is concept of Boxing and Unboxing ? Boxing permits any value type to be implicitly converted to type object or to any interface type implemented by value type. Boxing is a process in which object instances are created and copy values in to that instance. Unboxing is v... 2010-04-20, 4295👍, 0💬
What are Value types and Reference types ?
.NET INTERVIEW QUESTIONS - What are Value types and Reference types ? Value types directly contain their data which are either allocated on the stack or allocated in-line in a structure. Reference types store a reference to the value's memory address, and are allocated on the heap. Reference types c... 2010-04-13, 3857👍, 0💬
What are different types of JIT ?
.NET INTERVIEW QUESTIONS - What are different types of JIT ? JIT compiler is a part of the runtime execution environment. In Microsoft .NET there are three types of JIT compilers: * Pre-JIT :- Pre-JIT compiles complete source code into native code in a single compilation cycle. This is done at the t... 2010-04-13, 5108👍, 0💬
What is reflection?
.NET INTERVIEW QUESTIONS - What is reflection? All .NET assemblies have metadata information stored about the types defined in modules. This metadata information can be accessed by mechanism called as “Reflection”.System. Reflection can be used to browse through the metadata information.Using reflec... 2010-03-30, 4623👍, 0💬
Can we force garbage collector to run ?
.NET INTERVIEW QUESTIONS - Can we force garbage collector to run ? System.GC.Collect() forces garbage collector to run. This is not recommended but can be used if situations arises. 2010-03-30, 3813👍, 0💬
What is garbage collection?
.NET INTERVIEW QUESTIONS - What is garbage collection? Garbage collection is a CLR feature which automatically manages memory. Programmers forget to release the objects while coding . CLR automatically releases objects when they are no longer in use and referenced. CLR runs on non-deterministic to s... 2010-03-23, 3784👍, 0💬
How to add and remove an assembly from GAC?
.NET INTERVIEW QUESTIONS - How to add and remove an assembly from GAC? There are two ways to install .NET assembly in GAC:- * Using Microsoft Installer Package. You can get download of installer from http://www.microsoft.com. * Using Gacutil. Goto “Visual Studio Command Prompt” and type “gacutil –i... 2010-03-23, 4157👍, 0💬
What is GAC ?
.NET INTERVIEW QUESTIONS - What is GAC ? (What are situations when you register .NET assembly in GAC ?) GAC (Global Assembly Cache) is used where shared .NET assembly reside. GAC is used in the following situations :- * If the application has to be shared among several application. * If the assembly... 2010-03-16, 4944👍, 0💬
Is versioning applicable to private assemblies?
.NET INTERVIEW QUESTIONS - Is versioning applicable to private assemblies? Versioning concept is only applicable to global assembly cache (GAC) as private assembly lie in their individual folders. 2010-03-16, 6318👍, 0💬
here is version information stored in an assembly ?
.NET INTERVIEW QUESTIONS - Where is version information stored in an assembly ? Version information is stored in assembly in manifest. 2010-03-09, 4504👍, 0💬
What is Manifest?
.NET INTERVIEW QUESTIONS - What is Manifest? Assembly metadata is stored in Manifest. Manifest contains all the metadata needed to do the following things * Version of assembly * Security identity * Scope of the assembly * Resolve references to resources and classes. * The assembly manifest can be s... 2010-03-09, 3862👍, 0💬
What is Difference between NameSpace and Assembly?
.NET INTERVIEW QUESTIONS - What is Difference between NameSpace and Assembly? Following are the differences between namespace and assembly : * Assembly is physical grouping of logical units. Namespace logically groups classes. * Namespace can span multiple assembly. 2010-03-02, 4033👍, 0💬
What is NameSpace?
.NET INTERVIEW QUESTIONS - What is NameSpace? Namespace has two basic functionality :- * NameSpace Logically group types, example System.Web.UI logically groups our UI related features. * In Object Oriented world many times its possible that programmers will use the same class name.By qualifying Nam... 2010-03-02, 3945👍, 0💬
What are the different types of Assembly?
.NET INTERVIEW QUESTIONS - What are the different types of Assembly? There are two types of assembly Private and Public assembly. A private assembly is normally used by a single application, and is stored in the application's directory, or a sub-directory beneath. A shared assembly is normally store... 2010-02-23, 3717👍, 0💬
.NET INTERVIEW QUESTIONS - What is an Assembly?
.NET INTERVIEW QUESTIONS - What is an Assembly? * Assembly is unit of deployment like EXE or a DLL. * An assembly consists of one or more files (dlls, exe’s, html files etc.), and represents a group of resources, type definitions, and implementations of those types. An assembly may also contain refe... 2010-02-23, 3713👍, 0💬
What is a Managed Code?
.NET INTERVIEW QUESTIONS - What is a Managed Code? Managed code runs inside the environment of CLR i.e. .NET runtime. In short all IL are managed code. But if you are using some third party software example VB6 or VC++ component they are unmanaged code as .NET runtime (CLR) does not have control ove... 2010-02-16, 3596👍, 0💬
What is a CLS(Common Language Specification)?
.NET INTERVIEW QUESTIONS - What is a CLS(Common Language Specification)? This is a subset of the CTS which all .NET languages are expected to support. It was always a dream of Microsoft to unite all different languages in to one umbrella and CLS is one step towards that. Microsoft has defined CLS wh... 2010-02-16, 3608👍, 0💬
What is a CTS?
.NET INTERVIEW QUESTIONS - What is a CTS? In order that two language communicate smoothly CLR has CTS (Common Type System).Example in VB you have “Integer” and in C++ you have “long” these datatypes are not compatible so the interfacing between them is very complicated. In order to able that two di... 2010-02-09, 4084👍, 0💬
What is a CLR?
.NET INTERVIEW QUESTIONS - What is a CLR? Full form of CLR is Common Language Runtime and it forms the heart of the .NET framework. All Languages have runtime and its the responsibility of the runtime to take care of the code execution of the program. For example VC++ has MSCRT40.DLL,VB6 has MSVBVM6... 2010-02-09, 4503👍, 0💬
What Is Paint Shop Pro? - PSP Tutorials - Fading Images to Background Colors with PSP Paint Shop Pro...
What are different properties provided by Objectoriented systems ? Following are characteristic’s of...
How can I include comments in HTML? An HTML comment begins with "<!--", ends with "-->...
How To Export Data to a CSV File? - Oracle DBA FAQ - Introduction to Oracle SQL Developer If you wan...
What are urlencode() and urldecode() functions in PHP? string urlencode(str) - Returns the URL encod...