Mukesh Kumar
Can you declare variable in interface
By Mukesh Kumar in C# on Aug 21 2017
  • Ashish Gope
    Nov, 2017 23

    When you declare a variable, it will give "Interface can not contain a field" which means you can;t declare a variable in an interface. So answer is No, we Can't.

    • 1
  • Mukesh Kumar
    Dec, 2017 7

    No

    • 0
  • bebo bebo
    Nov, 2017 25

    no

    • 0
  • Gopisetty Vvsskiran
    Nov, 2017 16

    no

    • 0
  • Mukesh Kumar
    Aug, 2017 21

    No

    • 0