Hi,
interface contain only declaration no definition?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Francis SusaimichaelPosted Dec 23, 2015, 5:21 AM
{
TKey Id { get; }
string UserName { get; set; }
}
Rajeesh MenothPosted Dec 21, 2015, 9:19 PM
Ravi PatelPosted Dec 21, 2015, 10:17 AM
{
TKey Id { get; }
string UserName { get; set; }
}
}
Raja TPosted Dec 21, 2015, 9:59 AM
Ravi PatelPosted Dec 21, 2015, 9:37 AM
{
TKey Id { get; }
string UserName { get; set; }
}
}
Raja TPosted Dec 21, 2015, 4:54 AM
An interface looks like a class, but has no implementation. The only thing it contains are declarations of events, indexers, methodsand/or properties. The reason interfaces only provide declarations is because they are inherited by classes and structs, which must provide an implementation for each interface member declared. more details check out below links