Click here to Skip to main content
15,844,387 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to edit and delete lines from a text file Pin
OriginalGriff13-Aug-23 20:08
mveOriginalGriff13-Aug-23 20:08 
AnswerRe: how to edit and delete lines from a text file Pin
Gerry Schmitz13-Aug-23 6:53
mveGerry Schmitz13-Aug-23 6:53 
AnswerRe: how to edit and delete lines from a text file Pin
jschell14-Aug-23 7:07
jschell14-Aug-23 7:07 
Questionthen the new student submits their answer to ... Pin
BillWoodruff8-Aug-23 5:23
professionalBillWoodruff8-Aug-23 5:23 
AnswerRe: then the new student submits their answer to ... Pin
Pete O'Hanlon8-Aug-23 20:33
subeditorPete O'Hanlon8-Aug-23 20:33 
GeneralRe: then the new student submits their answer to ... Pin
BillWoodruff10-Aug-23 1:36
professionalBillWoodruff10-Aug-23 1:36 
GeneralRe: then the new student submits their answer to ... Pin
Pete O'Hanlon10-Aug-23 4:29
subeditorPete O'Hanlon10-Aug-23 4:29 
GeneralRe: then the new student submits their answer to ... Pin
BillWoodruff10-Aug-23 3:09
professionalBillWoodruff10-Aug-23 3:09 
using C# 8 new Interface features:
public interface IExampleInterface
{
    // A method with a default implementation
    void DefaultMethod()
    {
        Console.WriteLine("This is the default implementation of DefaultMethod.");
    }

    // A static method
    static void StaticMethod()
    {
        Console.WriteLine("This is a static method in an interface.");
    }

}
And ... in C#9: Init-only setters; Target-typed new expressions ... in C#10: Record structs.

imho, Interface is becoming very different, and learning the strategic use of the new features much more difficult.
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch

GeneralRe: then the new student submits their answer to ... Pin
Richard MacCutchan10-Aug-23 3:26
mveRichard MacCutchan10-Aug-23 3:26 
GeneralRe: then the new student submits their answer to ... Pin
Richard Deeming10-Aug-23 3:42
mveRichard Deeming10-Aug-23 3:42 
GeneralRe: then the new student submits their answer to ... Pin
BillWoodruff10-Aug-23 13:38
professionalBillWoodruff10-Aug-23 13:38 
GeneralRe: then the new student submits their answer to ... Pin
Richard Deeming10-Aug-23 22:27
mveRichard Deeming10-Aug-23 22:27 
GeneralRe: then the new student submits their answer to ... Pin
Richard Deeming11-Aug-23 0:27
mveRichard Deeming11-Aug-23 0:27 
GeneralRe: then the new student submits their answer to ... Pin
Sandeep Mewara12-Aug-23 18:26
mveSandeep Mewara12-Aug-23 18:26 
QuestionCount DataGridview row values and compare with an Array (Resolved) Pin
Edilson Lemos 20217-Aug-23 15:21
Edilson Lemos 20217-Aug-23 15:21 
AnswerRe: Count DataGridview row values and compare with an Array Pin
OriginalGriff7-Aug-23 20:56
mveOriginalGriff7-Aug-23 20:56 
AnswerRe: Count DataGridview row values and compare with an Array Pin
Andre Oosthuizen7-Aug-23 23:46
mveAndre Oosthuizen7-Aug-23 23:46 
GeneralRe: Count DataGridview row values and compare with an Array Pin
Edilson Lemos 20219-Aug-23 15:00
Edilson Lemos 20219-Aug-23 15:00 
GeneralRe: Count DataGridview row values and compare with an Array Pin
Andre Oosthuizen9-Aug-23 22:24
mveAndre Oosthuizen9-Aug-23 22:24 
SuggestionRe: Count DataGridview row values and compare with an Array Pin
Richard Deeming9-Aug-23 22:51
mveRichard Deeming9-Aug-23 22:51 
GeneralRe: Count DataGridview row values and compare with an Array Pin
Edilson Lemos 202110-Aug-23 7:44
Edilson Lemos 202110-Aug-23 7:44 
AnswerRe: Count DataGridview row values and compare with an Array Pin
Edilson Lemos 202110-Aug-23 17:23
Edilson Lemos 202110-Aug-23 17:23 
GeneralRe: Count DataGridview row values and compare with an Array Pin
Andre Oosthuizen11-Aug-23 0:15
mveAndre Oosthuizen11-Aug-23 0:15 
QuestionSharepoint Pin
Kevin Marois7-Aug-23 9:15
professionalKevin Marois7-Aug-23 9:15 
AnswerRe: Sharepoint Pin
Andre Oosthuizen8-Aug-23 0:15
mveAndre Oosthuizen8-Aug-23 0:15 

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.