Click here to Skip to main content
15,886,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: c# validation Pin
PIEBALDconsult22-Jan-15 18:42
mvePIEBALDconsult22-Jan-15 18:42 
GeneralRe: c# validation Pin
Member 108362351-Feb-15 20:05
Member 108362351-Feb-15 20:05 
QuestionGiving a property a value when it lacks set-method? Pin
Member 1139440322-Jan-15 2:09
Member 1139440322-Jan-15 2:09 
AnswerRe: Giving a property a value when it lacks set-method? Pin
OriginalGriff22-Jan-15 2:51
mveOriginalGriff22-Jan-15 2:51 
GeneralRe: Giving a property a value when it lacks set-method? Pin
Member 1139440322-Jan-15 3:55
Member 1139440322-Jan-15 3:55 
GeneralRe: Giving a property a value when it lacks set-method? Pin
Richard Deeming22-Jan-15 4:25
mveRichard Deeming22-Jan-15 4:25 
GeneralRe: Giving a property a value when it lacks set-method? Pin
Member 1139440324-Jan-15 3:29
Member 1139440324-Jan-15 3:29 
GeneralRe: Giving a property a value when it lacks set-method? Pin
BillWoodruff22-Jan-15 5:11
professionalBillWoodruff22-Jan-15 5:11 
Richard Deeming shows you what to do in his response here; I'll add that you might want to think of a Class inheriting from an Interface as entering into a contract that promises to implement members in the Class whose Types, names, and position (in parameter lists) exactly match the specification in the Interface.

So, your inheriting IAnimal promises to implement a Property of Type 'string named 'ID with a 'get accessor: that does not prevent you from adding a 'setter, and does not require you to use any type of access-modifier (public, private, etc.).
«I'm asked why doesn't C# implement feature X all the time. The answer's always the same: because no one ever designed, specified, implemented, tested, documented, shipped that feature. All six of those things are necessary to make a feature happen. They all cost huge amounts of time, effort and money.» Eric Lippert, Microsoft, 2009

Questioni want code for read data from hyperterminal Pin
Member 1135275122-Jan-15 1:09
Member 1135275122-Jan-15 1:09 
AnswerRe: i want code for read data from hyperterminal Pin
Manfred Rudolf Bihy22-Jan-15 1:33
professionalManfred Rudolf Bihy22-Jan-15 1:33 
AnswerRe: i want code for read data from hyperterminal Pin
OriginalGriff22-Jan-15 2:53
mveOriginalGriff22-Jan-15 2:53 
QuestionDefragmentor in c# Pin
Anoop Mishra21-Jan-15 23:42
Anoop Mishra21-Jan-15 23:42 
AnswerRe: Defragmentor in c# Pin
harold aptroot21-Jan-15 23:46
harold aptroot21-Jan-15 23:46 
QuestionAuto Update Sql Database Schema Pin
Zeyad Jalil21-Jan-15 20:32
professionalZeyad Jalil21-Jan-15 20:32 
AnswerRe: Auto Update Sql Database Schema Pin
Mycroft Holmes21-Jan-15 20:42
professionalMycroft Holmes21-Jan-15 20:42 
AnswerRe: Auto Update Sql Database Schema Pin
OriginalGriff21-Jan-15 22:07
mveOriginalGriff21-Jan-15 22:07 
QuestionAsp.net Mvc web api Pin
Member 1139320421-Jan-15 19:19
Member 1139320421-Jan-15 19:19 
AnswerRe: Asp.net Mvc web api Pin
Richard MacCutchan21-Jan-15 21:10
mveRichard MacCutchan21-Jan-15 21:10 
QuestionC# Google Drive Pin
Member 1125513321-Jan-15 18:30
Member 1125513321-Jan-15 18:30 
Question[Help] Data two tables with c# Pin
Member 1002317121-Jan-15 9:58
Member 1002317121-Jan-15 9:58 
AnswerRe: [Help] Data two tables with c# Pin
DamithSL21-Jan-15 16:10
professionalDamithSL21-Jan-15 16:10 
GeneralRe: [Help] Data two tables with c# Pin
Member 1002317122-Jan-15 1:29
Member 1002317122-Jan-15 1:29 
AnswerRe: [Help] Data two tables with c# Pin
roya.irani26-Jan-15 22:26
roya.irani26-Jan-15 22:26 
Question.NET Registry Creator Pin
Jassim Rahma21-Jan-15 9:01
Jassim Rahma21-Jan-15 9:01 
AnswerRe: .NET Registry Creator Pin
Pete O'Hanlon21-Jan-15 9:08
mvePete O'Hanlon21-Jan-15 9:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.