Click here to Skip to main content
15,885,044 members
Home / Discussions / C#
   

C#

 
GeneralRe: Code to move window not working. Pin
OriginalGriff19-Oct-16 2:07
mveOriginalGriff19-Oct-16 2:07 
GeneralRe: Code to move window not working. Pin
Rahul VB19-Oct-16 9:06
professionalRahul VB19-Oct-16 9:06 
QuestionHow i pass the list view column value in stored procedure as a parameter in vb dot net. Pin
Member 1280150118-Oct-16 19:28
Member 1280150118-Oct-16 19:28 
AnswerRe: How i pass the list view column value in stored procedure as a parameter in vb dot net. Pin
OriginalGriff18-Oct-16 19:39
mveOriginalGriff18-Oct-16 19:39 
AnswerRe: How i pass the list view column value in stored procedure as a parameter in vb dot net. Pin
OriginalGriff18-Oct-16 19:40
mveOriginalGriff18-Oct-16 19:40 
QuestionWhy Interface? Pin
Member 973087818-Oct-16 2:17
Member 973087818-Oct-16 2:17 
AnswerRe: Why Interface? Pin
Kenneth Haugland18-Oct-16 2:58
mvaKenneth Haugland18-Oct-16 2:58 
AnswerRe: Why Interface? Pin
OriginalGriff18-Oct-16 4:03
mveOriginalGriff18-Oct-16 4:03 
They aren't "unneccessary" methods, they define the methods that must be implemented in order to use the Interface.
If you think of an Interface as a contract rather than a class, the properties and methods defined by the Interface are conditions attached to the contract that must be adhered to or the contract is broken.

One of the best examples is the IEnumerable interface which "allows" you to use your class in a foreach statement. It has the "condition" in its "contract" that your class must implement the GetEnumerator method, because that is what the foreach loop calls in order to iterate your class. If you don't implement it, the compiler will complain because the contract is "broken" and any foreach loop which tried to reference your class would fail.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

SuggestionRe: Why Interface? Pin
Richard Deeming18-Oct-16 4:30
mveRichard Deeming18-Oct-16 4:30 
GeneralRe: Why Interface? Pin
OriginalGriff18-Oct-16 4:41
mveOriginalGriff18-Oct-16 4:41 
AnswerRe: Why Interface? Pin
Gerry Schmitz18-Oct-16 6:21
mveGerry Schmitz18-Oct-16 6:21 
JokeRe: Why Interface? Pin
Pete O'Hanlon18-Oct-16 9:20
mvePete O'Hanlon18-Oct-16 9:20 
GeneralRe: Why Interface? Pin
Gerry Schmitz18-Oct-16 20:36
mveGerry Schmitz18-Oct-16 20:36 
AnswerRe: Why Interface? Pin
Eddy Vluggen18-Oct-16 11:17
professionalEddy Vluggen18-Oct-16 11:17 
SuggestionRe: Why Interface? Pin
Richard Deeming18-Oct-16 12:21
mveRichard Deeming18-Oct-16 12:21 
GeneralRe: Why Interface? Pin
Eddy Vluggen18-Oct-16 12:36
professionalEddy Vluggen18-Oct-16 12:36 
QuestionCan't insert inkPicture into SQL Server database from C# Pin
Member 1178659318-Oct-16 0:17
Member 1178659318-Oct-16 0:17 
AnswerRe: Can't insert inkPicture into SQL Server database from C# Pin
OriginalGriff18-Oct-16 0:22
mveOriginalGriff18-Oct-16 0:22 
AnswerRe: Can't insert inkPicture into SQL Server database from C# Pin
Richard Deeming18-Oct-16 1:49
mveRichard Deeming18-Oct-16 1:49 
GeneralRe: Can't insert inkPicture into SQL Server database from C# Pin
Member 1178659318-Oct-16 18:33
Member 1178659318-Oct-16 18:33 
GeneralRe: Can't insert inkPicture into SQL Server database from C# Pin
Member 1178659318-Oct-16 19:05
Member 1178659318-Oct-16 19:05 
GeneralRe: Can't insert inkPicture into SQL Server database from C# Pin
Richard Deeming19-Oct-16 2:07
mveRichard Deeming19-Oct-16 2:07 
QuestionRe: Can't insert inkPicture into SQL Server database from C# Pin
Eddy Vluggen19-Oct-16 3:35
professionalEddy Vluggen19-Oct-16 3:35 
QuestionConvert Char[ ] To Char ? [ ] Pin
MadDashCoder16-Oct-16 18:15
MadDashCoder16-Oct-16 18:15 
AnswerRe: Convert Char[ ] To Char ? [ ] Pin
Midi_Mick16-Oct-16 19:30
professionalMidi_Mick16-Oct-16 19:30 

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.