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

Can we force Garbage collection?
Can we force Garbage collection? java follows a philosophy of automatic garbage collection, you can suggest or encourage the JVM to perform garbage collection but you can not force it. Once a variable is no longer referenced by anything it is available for garbage collection. You can suggest garbage...
2013-03-22, 2050👍, 0💬

A valid comment block in ASP.NET is ...
A valid comment block in ASP.NET is ... A valid comment block in ASP.NET is * &lt;!- - - Comment - - - > * &lt;!- - Comment - - > * &lt;% - - Comment - - %> * &lt;% ! - - Comment - - > &lt;% - - Comment - - %>
2014-08-18, 2049👍, 0💬

What is Delegate and what is it used for ?
What is Delegate and what is it used for ? Delegate is kinda like a pointer to a function in C++ or like an event handler in Java You can use it to “multicast” which means running multiple functions in different instances of object already created. This is useful when you want your objects to...
2013-12-20, 2049👍, 0💬

Creating a Key Pair?
Creating a Key Pair? You can create a key pair using the Strong Name tool (Sn.exe). Key pair files usually have an .snk extension. To create a key pair At the command prompt, type the following command: sn k In this command, file name is the name of the output file containing the key pair. The follo...
2013-10-24, 2049👍, 0💬

How can I read a single character from the keyboard without waiting for the RETURN key?
How can I read a single character from the keyboard without waiting for the RETURN key? How can I stop characters from being echoed on the screen as they're typed? Alas, there is no standard or portable way to do these things in C. Concepts such as screens and keyboards are not even mentioned in the...
2015-04-29, 2047👍, 0💬

What is the difference between ......
Q: What's the difference between const MAXSIZE = 100; and #define MAXSIZE 100 A preprocessor #define gives you a true compile-time constant. In C, const gives you a run-time object which you're not supposed to try to modify; ``const'' really means ``readonly''.
2015-12-22, 2046👍, 0💬

What will be the output of the following code snippet?
What will be the output of the following code snippet? What will be the output of the following code snippet? using System; class MainClass { static void Main( ) { new MainClass().Display( 3.56 ); } private void Display( float anArg ) { Console.Write( “{0} {1}”, anArg.GetType(), anArg ); } dou...
2014-09-02, 2045👍, 0💬

My application depends heavily on dynamic allocation of nodes for data structures ......
My application depends heavily on dynamic allocation of nodes for data structures, and malloc/free overhead is becoming a bottleneck. What can I do ? One improvement, which is particularly attractive if all nodes are the same size, is to place unused nodes on your own free list, rather than actually...
2016-04-12, 2042👍, 0💬

What is the use of ErrorProvider Control?
What is the use of ErrorProvider Control? The ErrorProvider control is used to indicate invalid data on a data entry form. Using this control, you can attach error messages that display next to the control when the data is invalid, as seen in the following image. A red circle with an exclamation poi...
2013-12-18, 2042👍, 0💬

What is the Differnce Between Response.write & response.output.Write
What is the Differnce Between Response.write & response.output.Write In ASP.NET the Response object is of type HttpResponse and when you say Response.Write you’re really saying (basically) HttpContext.Current.Response.W riteand calling one of the many overloaded Write methods of HttpResponse....
2013-12-24, 2041👍, 0💬

What are tag interfaces?
What are tag interfaces? Tag interface is an alternate name for marker interface.
2013-03-12, 2038👍, 0💬

Bitwise OR operator in C# is ...
Bitwise OR operator in C# is ... Bitwise OR operator in C# is * OR * || * | * XOR Answer1: || Answer2: |
2014-03-24, 2033👍, 0💬

How can be the web application get configured with the following authorization rules ...
How can be the web application get configured with the following authorization rules ... How can be the web application get configured with the following authorization rules * Anonymous users must not be allowed to access the application. * All persons except David and John must be allowed to access...
2014-08-29, 2028👍, 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, 2026👍, 0💬

How is meant by DLL ?
How is meant by DLL ? A DLL (Dynamic Link Library) is a file that can be loaded and executed by programs dynamically. Basically it’s an external code repository for programs. Since usually several different programs reuse the same DLL instead of having that code in their own file, this dramatical...
2013-12-20, 2022👍, 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, 2019👍, 0💬

How would you implement inheritance using VB.NET/C#?
How would you implement inheritance using VB.NET/C#? When we set out to implement a class using inheritance, we must first start with an existing class from which we will derive our new subclass. This existing class, or base class, may be part of the .NET system class library framework, it may be pa...
2014-01-23, 2019👍, 0💬

What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP? Web Forms are the heart and soul of ASP.NET. Web Forms are the User Interface (UI) elements that give your Web applications their look and feel. Web Forms are similar to Windows Forms in that they provide...
2014-01-21, 2017👍, 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, 2016👍, 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, 2014👍, 0💬

Can any object be stored in a Viewstate?
Can any object be stored in a Viewstate? An object that either is serializable or has a TypeConverter defined for it can be persisted in ViewState
2014-01-02, 2014👍, 0💬

One of the possible way of writing an ASP.NET handler that works like an ISAPI filter- that is ...
One of the possible way of writing an ASP.NET handler that works like an ISAPI filter- that is ... One of the possible way of writing an ASP.NET handler that works like an ISAPI filter- that is, that sees requests and responses and modifies them also, is by, * writing a module that extends FormsAuth...
2014-08-25, 2012👍, 0💬

Using ActiveX Control in .Net
Using ActiveX Control in .Net ActiveX control is a special type of COM component that supports a User Interface. Using ActiveX Control in your .Net Project is even easier than using COM component. They are bundled usually in .ocx files. Again a proxy assembly is made by .Net utility AxImp.exe (which...
2013-10-04, 2010👍, 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, 2008👍, 0💬

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