< 1 2 3 4 5 > >>   Sort: Rank

.NET INTERVIEW QUESTIONS - What is a IL?
.NET INTERVIEW QUESTIONS - What is a IL? (What is MSIL or CIL , What is JIT?) (IL)Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. This IL is then converted to machine code at the point where ...
2010-02-02, 4097👍, 0💬

What is equivalent for regsvr32 exe in .NET ?
.NET INTERVIEW QUESTIONS - What is equivalent for regsvr32 exe in .NET ? Regasm
2010-02-02, 5844👍, 0💬

What are types of compatibility in VB6?
.NET INTERVIEW QUESTIONS - What are types of compatibility in VB6? There are three possible project compatibility settings: * No Compatibility * Project Compatibility * Binary Compatibility No Compatibility With this setting, new class ID’s, new interface ID’s and a new type library ID will be gener...
2010-01-26, 7102👍, 0💬

How many types of Transactions are there in COM + .NET ?
.NET INTERVIEW QUESTIONS - How many types of Transactions are there in COM + .NET ? There are 5 transactions types that can be used with COM+. Whenever an object is registered with COM+ it has to abide either to these 5 transaction types. Disabled: - There is no transaction. COM+ does not provide tr...
2010-01-26, 5291👍, 0💬

Can you describe IUKNOWN interface in brief ?
.NET INTERVIEW QUESTIONS - Can you describe IUKNOWN interface in brief ? Every COM object supports at least one interface, the IUnknown interface. All interfaces are classes derived from the base class IUnknown. Each interface supports methods access data and perform operations transparently to the ...
2010-01-19, 4457👍, 0💬

What is Reference counting in COM ?
.NET INTERVIEW QUESTIONS - What is Reference counting in COM ? Reference counting is a memory management technique used to count how many times an object has a pointer referring to it. The first time it is created, the reference count is set to one. When the last reference to the object is nulled, t...
2010-01-19, 4855👍, 0💬

What is COM ?
.NET INTERVIEW QUESTIONS - What is COM ? Microsoft’s COM is a technology for component software development. It is a binary standard which is language independent. DCOM is a distributed extension of COM.
2010-01-12, 8265👍, 0💬

When we use windows API in .NET is it managed or unmanaged code ?
.NET INTERVIEW QUESTIONS - When we use windows API in .NET is it managed or unmanaged code ? Windows API in .NET is unmanaged code.
2010-01-12, 5425👍, 0💬

What is the difference between thread and process?
.NET INTERVIEW QUESTIONS - What is the difference between thread and process? A thread is a path of execution that run on CPU, a process is a collection of threads that share the same virtual memory. A process has at least one thread of execution, and a thread always run in a process context..
2010-01-05, 8116👍, 0💬

How can you avoid deadlock in threading?
.NET INTERVIEW QUESTIONS - How can you avoid deadlock in threading? A good and careful planning can avoid deadlocks.There are so many ways Microsoft has provided by which you can reduce deadlocks example Monitor, Interlocked classes, Wait handles, Event raising from one thread to other thread, Threa...
2010-01-05, 8066👍, 0💬

What is ReaderWriter Locks ?
.NET INTERVIEW QUESTIONS - What is ReaderWriter Locks ? You may want to lock a resource only when data is being written and permit multiple clients to simultaneously read data when data is not being updated. The ReaderWriterLock class enforces exclusive access to a resource while a thread is modifyi...
2009-12-29, 4818👍, 0💬

What are wait handles ?
.NET INTERVIEW QUESTIONS - What are wait handles ?(What is a mutex object ?) Wait handles sends signals of a thread status from one thread to other thread. There are three kind of wait modes :- * WaitOne. * WaitAny. * WaitAll. When a thread wants to release a Wait handle it can call Set method. You ...
2009-12-22, 5443👍, 0💬

What is a monitor object?
.NET INTERVIEW QUESTIONS - What is a monitor object? Monitor objects are used to ensure that a block of code runs without being interrupted by code running on other threads. In other words, code in other threads cannot run until code in the synchronized code block has finished. SyncLock and End Sync...
2009-12-22, 4798👍, 0💬

Can we use events with threading ?
.NET INTERVIEW QUESTIONS - Can we use events with threading ? Yes, you can use events with thread; this is one of the techniques to synchronize one thread with other.
2009-12-15, 7808👍, 0💬

When working with shared data in threading how do you implement synchronization ?
.NET INTERVIEW QUESTIONS - When working with shared data in threading how do you implement synchronization ? There are certain situtations that you need to be careful with when using threads. If two threads (e.g. the main and any worker threads) try to access the same variable at the same time, you'...
2009-12-15, 4417👍, 0💬

What are Daemon threads and how can a thread be created as Daemon?
.NET INTERVIEW QUESTIONS - What are Daemon threads and how can a thread be created as Daemon? Daemon thread's run in background and stop automatically when nothing is running program. Example of a Daemon thread is "Garbage collector". Garbage collector runs until some .NET code is running or else it...
2009-12-09, 10698👍, 0💬

.NET INTERVIEW QUESTIONS - What is Thread.Join() in threading ?
What is Thread.Join() in threading ? There are two versions of Thread.Join :- * Thread.join(). * Thread.join(Integer) this returns a Boolean value. The Thread.Join method is useful for determining if a thread has completed before starting another task. The Join method waits a specified amount of tim...
2009-12-09, 4824👍, 0💬

What the way to stop a long running thread ?
.NET INTERVIEW QUESTIONS - What the way to stop a long running thread ? Thread.Abort() stops the thread execution at that moment itself.
2009-12-01, 4643👍, 0💬

What is Suspend and Resume in Threading ?
.NET INTERVIEW QUESTIONS - What is Suspend and Resume in Threading ? It is Similar to Sleep and Interrupt. Suspend allows you to block a thread until another thread calls Thread.Resume. The difference between Sleep and Suspend is that the latter does not immediately place a thread in the wait state....
2009-12-01, 10737👍, 0💬

How can we make a thread sleep for infinite period ?
.NET INTERVIEW QUESTIONS - How can we make a thread sleep for infinite period ? You can also place a thread into the sleep state for an indeterminate amount of time by calling Thread.Sleep (System.Threading.Timeout.Infi nite).To interrupt this sleep you can call the Thread.Interrupt method.
2009-11-24, 4754👍, 0💬

What's Thread.Sleep() in threading ?
.NET INTERVIEW QUESTIONS - What's Thread.Sleep() in threading ? .NET INTERVIEW QUESTIONS - What's Thread.Sleep() in threading ? Thread's execution can be paused by calling the Thread.Sleep method. This method takes an integer value that determines how long the thread should sleep. Example Thread.Cur...
2009-11-24, 4962👍, 0💬

How can you reference current thread of the method ?
.NET INTERVIEW QUESTIONS - How can you reference current thread of the method ? "Thread.CurrentThread" refers to the current thread running in the method."CurrentThread" is a public static property.
2009-11-17, 4045👍, 0💬

Can you explain in brief how can we implement threading ?
.NET INTERVIEW QUESTIONS - Can you explain in brief how can we implement threading ? Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim pthread1 As New Thread(AddressOf Thread1) Dim pthread2 As New Thread(AddressOf Thread2) pthread1.Start() pth...
2009-11-17, 4494👍, 0💬

Which namespace has threading ?
.NET INTERVIEW QUESTIONS - Which namespace has threading ? Systems.Threading has all the classes related to implement threading. Any .NET application who wants to implement threading has to import this namespace.
2009-11-10, 4986👍, 0💬

< 1 2 3 4 5 > >>   Sort: Rank