2 Topics

Member Avatar for
Member Avatar for rohitorque

I saw similar post in several forums but still i have the same doubt... CAN I USE NULLABLE WITH OPTIONAL KEYWORD??? What is the problem with using both together??? are these 2 keywords similar??? hope someone will clear it for me..

0
80
Member Avatar for VIeditorlover

I have a problem with this construction, can not find how to rewrite it properly. [CODE] private SqlParameter op <T> (T? t, string name) { SqlParameter sp = new SqlParameter(); sp.IsNullable = true; sp.ParameterName = name; sp.Value = t.HasValue ? t.Value : Convert.DBNull; return sp; } [/CODE]

Member Avatar for gusano79
0
215

The End.