<< < 147 148 149 150 151 152 153 154 155 156 157 > >>   Sort: Date

What can be achieved in IL which is not possible in C# ?
What can be achieved in IL which is not possible in C# ? What can be achieved in IL which is not possible in C# ? * Creation of an ArrayList * Creation of a Dictionary * Creation of a two dimensional array * Creation of a non-zero based array Answer1: Creation of a dictionary Answer2: Creation of a ...
2014-06-12, 1744👍, 0💬

Can the validation be done in the server side? Or this can be done only in the Client side?
Can the validation be done in the server side? Or this can be done only in the Client side? Client side is done by default. Server side validation is also possible. We can switch off the client side and server side can be done.
2013-10-01, 1744👍, 0💬

Is string a value type or a reference type?
Is string a value type or a reference type? Answer1: String is Reference Type. Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short,strut, uint, ulong, ushort Value types are stored in the Stack Reference type - class, delegate, interface, object, string Reference ty...
2014-02-27, 1743👍, 0💬

Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table.
Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table. Answer1. a. Select count(*) from table1 b. SELECT object_name(id) ,rowcnt FROM sysindexes WHERE indid IN (1,0) AND OBJECTPROPERTY(id, ‘IsUserTable’) = 1 c. exec sp_table_validation @table = â...
2014-10-08, 1742👍, 0💬

What is Reflection?
What is Reflection? It extends the benefits of metadata by allowing developers to inspect and use it at runtime. For example, dynamically determine all the classes contained in a given assembly and invoke their methods. Reflection provides objects that encapsulate assemblies, modules, and types. You...
2013-10-29, 1741👍, 0💬

Can anyone tell me about Secure Socket Layer? How to make use of the technology?
Can anyone tell me about Secure Socket Layer? How to make use of the technology? Secure Sockets Layer (SSL) and Transport Layer Security (TLS), its successor, are cryptographic protocols which provide secure communications on the Internet. There are slight differences between SSL 3.0 and TLS 1.0, bu...
2013-12-23, 1740👍, 0💬

How ASP .NET different from ASP?
How ASP .NET different from ASP? Scripting is separated from the HTML, Code is compiled as a DLL, these DLLs can be executed on the server.
2014-01-10, 1735👍, 0💬

What is "Common Language Runtime" (CLR)?
What is "Common Language Runtime" (CLR)? CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications. It provides a number ...
2013-10-30, 1735👍, 0💬

What is Machine.config?
What is Machine.config? Machine configuration file: The machine.config file contains settings that apply to the entire computer. This file is located in the %runtime install path%Config directory. There is only one machine.config file on a computer. The Machine.Config file found in the "CONFIG" subf...
2013-10-06, 1735👍, 0💬

What's the best way to write a multi-statement macro?
What's the best way to write a multi-statement macro? The usual goal is to be able to invoke the macro as if it were an expression statement consisting of a function call: MACRO(arg1, arg2); This means that the ``caller'' will be supplying the final semicolon, so the macro body should not. The macro...
2016-02-22, 1734👍, 0💬

What is an Intermediate language?
What is an Intermediate language? Assemblies are made up of IL code modules and the metadata that describes them. Although programs may be compiled via an IDE or the command line, in fact, they are simply translated into IL, not machine code. The actual machine code is not generated until the functi...
2013-11-01, 1734👍, 0💬

Describe the difference between inline and code behind - which is best in a loosely coupled solution?
Describe the difference between inline and code behind - which is best in a loosely coupled solution? ASP.NET supports two modes of page development: Page logic code that is written inside &lt;script runat=server> blocks within an .aspx file and dynamically compiled the first time the page is re...
2014-01-24, 1732👍, 0💬

What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why.
What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why. Answers1: In a interface class, all methods are abstract without implementation where as in an abstract class some methods we can define concrete. In interface, no accessibility modifiers are a...
2013-12-25, 1731👍, 0💬

What are Attributes?
What are Attributes? Attributes are declarative tags in code that insert additional metadata into an assembly. There exist two types of attributes in the .NET Framework: Predefined attributes such as AssemblyVersion, which already exist and are accessed through the Runtime Classes; and custom attrib...
2013-10-31, 1731👍, 0💬

What is the difference between Convert.ToInt32 and int.Parse?
What is the difference between Convert.ToInt32 and int.Parse? What is the difference between Convert.ToInt32 and int.Parse? * Both are same and both can handle null value. * Convert.ToInt32 can handle null value but int.Parse throws ArgumentNullException error. * int.Parse can handle null value but ...
2014-07-09, 1729👍, 0💬

Explain the differences between Server-side and Client-side code?
Explain the differences between Server-side and Client-side code? Server side scripting means that all the script will be executed by the server and interpreted as needed. ASP doesn’t have some of the functionality like sockets, uploading, etc. For these you have to make a custom components usual...
2014-01-15, 1729👍, 0💬

What is "Microsoft Intermediate Language" (MSIL)?
What is "Microsoft Intermediate Language" (MSIL)? A .NET programming language (C#, VB.NET, J# etc.) does not compile into executable code; instead it compiles into an intermediate code called Microsoft Intermediate Language (MSIL). As a programmer one need not worry about the syntax of MSIL - since ...
2013-11-19, 1729👍, 0💬

What’s typical about a Windows process in regards to memory allocation?
What’s typical about a Windows process in regards to memory allocation? Each process is allocated its own block of available RAM space, no process can access another process’ code or data. If the process crashes, it dies alone without taking the entire OS or a bunch of other applications down...
2013-11-07, 1729👍, 0💬

What is view state?
What is view state? The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control
2013-09-30, 1729👍, 0💬

what is the difference between user control an custom control? advantages/disadvantages?
what is the difference between user control an custom control? advantages/disadvantages? Web user controls Vs Web custom controls Easier to create Vs Harder to create Limited support for consumers who use a visual design tool Vs Full visual design tool support for consumers A separate copy of the co...
2013-12-17, 1728👍, 0💬

What is the purpose of using COLLATE in a query?
What is the purpose of using COLLATE in a query? Answer1. Collation refers to a set of rules that determine how data is sorted and compared. Character data is sorted using rules that define the correct character sequence, with options for specifying case-sensitivity, accent marks, kana character typ...
2014-10-10, 1723👍, 0💬

What is Task?
What is Task? Whenever you execute a program, the operating system creates a new task for it. The task is like an envelope for the program: it identifies the program with a task number and attaches other bookkeeping information to it.
2014-11-03, 1721👍, 0💬

Explain DataSet.AcceptChanges and DataAdapter.Update methods.
Explain DataSet.AcceptChanges and DataAdapter.Update methods. DataAdapter.Update method Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet. DataSet.AcceptChanges method Commits all the changes made to this row since the last time Accep...
2014-01-06, 1720👍, 0💬

What should you do to store an object in a Viewstate?
What should you do to store an object in a Viewstate? Do serialization of convert the object to string
2014-01-03, 1719👍, 0💬

<< < 147 148 149 150 151 152 153 154 155 156 157 > >>   Sort: Date