Logo 
Search:

cpp Interview FAQs

Submit Interview FAQ
No Records Found!!!
Go Ahead and Post your Interview FAQ
Home » Interview FAQs » cppRSS Feeds
.Net Framework
Comments: 0

What's the problem with .NET generics?

.NET generics work great for container classes. But what about other uses? Well, it turns out that .NET generics have a major limitation - they require the type parameter to be constrained. For example, you cannot do this:

static class Dispose...
Posted By:Dan Romero      Posted On: Dec 22

.Net Framework
Comments: 0

What size is a .NET object?

Each instance of a reference type has two fields maintained by the runtime - a method table pointer and a sync block. These are 4 bytes each on a 32-bit system, making a total of 8 bytes per object overhead. Obviously the instance data for the type m...
Posted By:Burkett Bernard      Posted On: Jan 14

.Net Framework
Comments: 0

Will my .NET app run on 64-bit Windows?

64-bit (x64) versions of Windows support both 32-bit and 64-bit processes, and corresponding 32-bit and 64-bit versions of .NET 2.0. (.NET 1.1 is 32-bit only).

.NET 1.x apps automatically run as 32-bit processes on 64-bit Windows.

.NET 2.0 apps...
Posted By:Perdita Lopez      Posted On: Oct 17

.Net Framework
Comments: 0

What is reflection?

All .NET compilers produce metadata about the types defined in the modules they produce. This metadata is packaged along with the module (modules in turn are packaged together in assemblies), and can be accessed by a mechanism called reflection. The ...
Posted By:Faith Hughes      Posted On: Oct 16

.Net Framework
Comments: 0

How can I get at the Win32 API from a .NET program?

Use P/Invoke. This uses similar technology to COM Interop, but is used to access static DLL entry points instead of COM objects. Here is an example of C# calling the Win32 MessageBox function:

using System;
using System.Runtime.InteropSe...
Posted By:Latasha Wilson      Posted On: Mar 04

.Net Framework
Comments: 0

How do I write to the application configuration file at runtime?

You don't. See www.interact-sw.co.uk/.../savingconfig.
Posted By:Ora Hanson      Posted On: Feb 02

.Net Framework
Comments: 0

What's the problem with .NET generics?

.NET generics work great for container classes. But what about other uses? Well, it turns out that .NET generics have a major limitation - they require the type parameter to be constrained. For example, you cannot do this:

static class Dispose...
Posted By:Dan Romero      Posted On: Dec 22

.Net Framework
Comments: 0

What size is a .NET object?

Each instance of a reference type has two fields maintained by the runtime - a method table pointer and a sync block. These are 4 bytes each on a 32-bit system, making a total of 8 bytes per object overhead. Obviously the instance data for the type m...
Posted By:Burkett Bernard      Posted On: Jan 14

.Net Framework
Comments: 0

Will my .NET app run on 64-bit Windows?

64-bit (x64) versions of Windows support both 32-bit and 64-bit processes, and corresponding 32-bit and 64-bit versions of .NET 2.0. (.NET 1.1 is 32-bit only).

.NET 1.x apps automatically run as 32-bit processes on 64-bit Windows.

.NET 2.0 apps...
Posted By:Perdita Lopez      Posted On: Oct 17

.Net Framework
Comments: 0

What is reflection?

All .NET compilers produce metadata about the types defined in the modules they produce. This metadata is packaged along with the module (modules in turn are packaged together in assemblies), and can be accessed by a mechanism called reflection. The ...
Posted By:Faith Hughes      Posted On: Oct 16

.Net Framework
Comments: 0

How can I get at the Win32 API from a .NET program?

Use P/Invoke. This uses similar technology to COM Interop, but is used to access static DLL entry points instead of COM objects. Here is an example of C# calling the Win32 MessageBox function:

using System;
using System.Runtime.InteropSe...
Posted By:Latasha Wilson      Posted On: Mar 04

.Net Framework
Comments: 0

How do I write to the application configuration file at runtime?

You don't. See www.interact-sw.co.uk/.../savingconfig.
Posted By:Ora Hanson      Posted On: Feb 02

  45  46  47  48  49  50  51  52  53  54  55