TypeForwardTo attribute (Use to divert the search for a class from one Assembly to other Assembly without Recompiling the Caller application)
-->For this attribute to work, You cannot change the namespace of the Class if you shift it to other assembly :-(
----------------------------------------------------------------------------------------------
Use HashTable against ListDictionary if n >10 ( See Microsoft documentation )
--> No evidence to support this, except to the fact that HybridDictionary uses an Internal flag to switch the data type ( from ListDictionary to Hashtable) when elements are greater than 10 .
----------------------------------------------------------------------------------------------
ServiceController (Can be used to create you own service manager for Windows service)
--> We should write our own service manager because MMC snap in does not support custom commands.
------------------------------------------------------------------------------------------------
Set ANSI_NULLS ON
--> Do not use Equal and not equals operator with Null when using this , instead use Is Null and Is Not Null operators
------------------------------------------------------------------------------------------------
Set Quoted_Identifier ON
--> Can's use double quotes for string comparison if it is ON :-(
If you want to use [Where name = "Ankur Jindal"] instead of [Where name = 'Ankur Jindal'] then Set Quoted_Identifier OFF

No comments:
Post a Comment