Mp Raghava
Is the below statement Valid in C# ? Using(int x=23) { }
By Mp Raghava in C# on Sep 09 2015
  • rajesh thakur
    Feb, 2018 27

    statement is not valid. It will give below error :- 'int': type used in a using statement must be implicitly convertible to 'System.IDisposable'

    • 0
  • Mukesh Kumar
    Sep, 2017 12

    Yes

    • 0
  • Raghvandra Shukla
    Mar, 2016 27

    Not valid, throw an error.

    • 0
  • sushil kumar
    Jan, 2016 4

    statement is not valid. It will give below error :- 'int': type used in a using statement must be implicitly convertible to 'System.IDisposable'

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS