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

What classes of exceptions may be thrown by a throw statement?
What classes of exceptions may be thrown by a throw statement? A throw statement may throw any expression that may be assigned to the Throwable type.
2013-01-03, 2309👍, 0💬

How does output caching work in ASP.NET?
How does output caching work in ASP.NET? Output caching is a powerful technique that increases request/response throughput by caching the content generated from dynamic pages. Output caching is enabled by default, but output from any given response is not cached unless explicit action is taken to ma...
2013-12-30, 2308👍, 0💬

Advantages of migrating to VB.NET ?
Advantages of migrating to VB.NET ? Visual Basic .NET has many new and improved language features — such as inheritance, interfaces, and overloading that make it a powerful object-oriented programming language. As a Visual Basic developer, you can now create multithreaded, scalable applications u...
2013-10-03, 2308👍, 0💬

What is smart navigation?
What is smart navigation? The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed.
2013-09-30, 2308👍, 0💬

What is the difference between a constructor and a method?
What is the difference between a constructor and a method? A constructor is a member function of a class that is used to create objects of that class. It has the same name as the class itself, has no return type, and is invoked using the new operator. A method is an ordinary member function of a cla...
2013-04-29, 2306👍, 0💬

I need a random number generator.
I need a random number generator. The Standard C library has one: rand. The implementation on your system may not be perfect, but writing a better one isn't necessarily easy, either. Here is a portable C implementation of the ``minimal standard'' generator : #define a 16807 #define m 2147483647 #def...
2015-08-03, 2305👍, 0💬

What is the output for the below mentioned compilation command>csc /addmodule:A.Exe B.Cs
What is the output for the below mentioned compilation command>csc /addmodule:A.Exe B.Cs What is the output for the below mentioned compilation command>csc /addmodule:A.Exe B.Cs * A.exe * B.exe * A.dll * B.dll B.exe
2014-08-29, 2304👍, 0💬

Why isn't there operator overloading?
Why isn't there operator overloading? Because C++ has proven by example that operator overloading makes code almost impossible to maintain. In fact there very nearly wasn't even method overloading in Java, but it was thought that this was too useful for some very basic methods like print(). Note tha...
2013-02-08, 2304👍, 0💬

Bitwise AND operator in C# is ...
Bitwise AND operator in C# is ... Bitwise AND operator in C# is * &amp; * &amp;&amp; * AND * XAND Answer1: &amp;&amp; Answer2: &amp;
2014-03-21, 2303👍, 0💬

What is "Common Type System" (CTS)?
What is "Common Type System" (CTS)? CTS defines all of the basic types that can be used in the .NET Framework and the operations performed on those type. All this time we have been talking about language interoperability, and .NET Class Framework. None of this is possible without all the language sh...
2013-10-29, 2301👍, 0💬

Do I need to import java.lang package any time? Why ?
Do I need to import java.lang package any time? Why ? No. It is by default loaded internally by the JVM.
2013-05-09, 2301👍, 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, 2300👍, 0💬

What is a compilation unit?
What is a compilation unit? A compilation unit is a Java source code file.
2013-01-11, 2300👍, 0💬

How many classes can a single.NET DLL contain?
How many classes can a single.NET DLL contain? Answer1: As many Answer2: One or more
2014-09-04, 2298👍, 0💬

Assuming $_ contains HTML, which of the following substitutions will remove all tags in it?
Assuming $_ contains HTML, which of the following substitutions will remove all tags in it? 1.s/&lt;.*&gt;//g; 2.s/&lt;.*?&gt;//gs; 3.s/&lt;\/?[A-Z]\w*(?:\s+[ A-Z]\w*(?:\s*=\s*(?:(["']).*?\ 1|[\w-.]+))?)*\s*&gt;//gsi x;You can't do that. If it weren't for HTML comments, imprope...
2013-08-29, 2290👍, 0💬

Which methods of Serializable interface should I implement?
Which methods of Serializable interface should I implement? The serializable interface is an empty interface, it does not contain any methods. So we do not implement any methods.
2013-05-20, 2289👍, 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, 2283👍, 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, 2281👍, 0💬

How is .NET able to support multiple languages?
How is .NET able to support multiple languages? A language should comply with the Common Language Runtime standard to become a .NET language. In .NET, code is compiled to Microsoft Intermediate Language (MSIL for short). This is called as Managed Code. This Managed code is run in .NET environment. S...
2013-09-27, 2281👍, 0💬

What is the difference between these initializations? ....
What is the difference between these initializations? char a[] = "string literal"; char *p = "string literal"; My program crashes if I try to assign a new value to p[i]. A string literal (the formal term for a double-quoted string in C source) can be used in two slightly different ways: 1. As the in...
2016-03-09, 2280👍, 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, 2278👍, 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, 2275👍, 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, 2274👍, 0💬

What is Web.config?
What is Web.config? In classic ASP all Web site related information was stored in the metadata of IIS. This had the disadvantage that remote Web developers couldn't easily make Web-site configuration changes. For example, if you want to add a custom 404 error page, a setting needs to be made through...
2013-10-06, 2274👍, 0💬

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