-
The textbox control contains properties like MaxLength,
PasswordChar, ReadOnly, Multiline. These properties are used to restrict user
to enter unwanted data in the field. Developer can tap keyboard events of the
control like Keydown, KeyUp and Keypress.
-
Developer can validate character input by using static
methods of char structure like char.IsDigit, CharIsletter, Char.Islower,
Char.IsUpper etc.
What benefit do you get from
using a Primary Interop Assembly (PIA)?
A primary interop assembly contains type definitions (as metadata) of types
implemented with COM. Only a single PIA can exist, which needs to be signed
with a strong name by the publisher of the COM type library............
What are circular references?
Explain how garbage collection deals with circular references.
A circular reference is a run-around wherein the 2 or more resources are
interdependent on each other rendering the entire chain of references to be
unusable........
Explain with code sample how to
Implement a Web Service in .NET.
C# generics are a simpler approach to parameterized types without the complexity
of C++ templates In addition, C# does not attempt to provide all of the
functionality that C++ templates provide...........
Describe how a .Net application is
compiled and executed.
From
the source code, the compiler generates Microsoft Intermediate
Language (MSIL) which is further used for the creation of an EXE or
DLL. The CLR processes these at runtime. Thus, compiling is the
process of generating this
MSIL...........
.
|