.NET Gotachas

Index

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X]

scripting COM component

serialization

    examples

         C#

         VB.NET

     of a derived class

SerializationInfo class

ServicedComponent

ServicedComponents

     inconsistencies

     various Windows platforms

sessions, multiple calls when session is maintained

SetExecutingThreadLabel( ) method

SetPassword( ) method

Shadows keyword

shallow copy

Shared members

     access to

     invoking usingreference

     object references and

Shared method

signatures

     changing in derived class

     mismatches

         method hiding

     overriding and overloading to change

Single Threaded Apartment (STA)

singleton

     example

     not guaranteed process-wide

     within AppDomain

Singleton Design Pattern

Singleton thread-safety

sn utility to create key and extract public key token

solutions versus projects

Start( ) method

STAThread

     effect of not setting in C#

     effect of using

     usage

static variables

static/Shared fields

     uniquess of

static/Shared methods 2nd

static/shared methods

     polymorphism

static/Shared methods

     synchronization

Stop( ) method 2nd

Strict option off

StringBuilder versus +/&

struct keyword in C#

Structure in VB.NET

synchronization

     ineffective

     problems with

synchronizing

     locally and precisely

     on metadata

SyncLock block

System.Data.DataSet class

System.Enum.IsDefined( )

System.ICloneable interface

System.Runtime.InteropServices.Marshal class

System.Runtime.InteropServices.Marshal.ReleaseComObject( ) static/Shared method

System.Timers.Timer object

System.Timers.Timer's event handler

System.Web.Services.Protocols.SoapException

System.Windows.Forms.Control.Invoke( ) method 2nd

System.Xml.XmlDocument parser class

Категории