Convert.ToString(null) => null

            {
                string str0 = Convert.ToString(null);
                Console.WriteLine("0,{0}", str0);
                if (str0=="")
                {
                    Console.WriteLine("0,Empty!");
                }
                if (str0 == null)
                {
                    Console.WriteLine("0,null!");
                }
                else
                {
                    Console.WriteLine("0,Empty?");
                }
                /*
                0,
                0,null!
                 */
            }

 

posted @ 2017-03-16 09:09  sky20080101  阅读(182)  评论(0编辑  收藏  举报