Click here to Skip to main content
15,913,773 members
Home / Discussions / C#
   

C#

 
QuestionNeed Help | Increase .NET knowledge Pin
Member 1179671529-Sep-16 6:08
Member 1179671529-Sep-16 6:08 
AnswerRe: Need Help | Increase .NET knowledge Pin
Richard MacCutchan29-Sep-16 6:28
mveRichard MacCutchan29-Sep-16 6:28 
AnswerRe: Need Help | Increase .NET knowledge Pin
#realJSOP29-Sep-16 7:38
professional#realJSOP29-Sep-16 7:38 
AnswerRe: Need Help | Increase .NET knowledge Pin
OriginalGriff29-Sep-16 8:03
mveOriginalGriff29-Sep-16 8:03 
GeneralRe: Need Help | Increase .NET knowledge Pin
Mycroft Holmes29-Sep-16 12:50
professionalMycroft Holmes29-Sep-16 12:50 
AnswerRe: Need Help | Increase .NET knowledge Pin
Member 1276600929-Sep-16 19:50
Member 1276600929-Sep-16 19:50 
GeneralRe: Need Help | Increase .NET knowledge Pin
Pete O'Hanlon29-Sep-16 21:38
mvePete O'Hanlon29-Sep-16 21:38 
AnswerRe: Need Help | Increase .NET knowledge Pin
Nathan Minier30-Sep-16 1:16
professionalNathan Minier30-Sep-16 1:16 
PraiseRe: Need Help | Increase .NET knowledge Pin
Member 117967153-Oct-16 5:32
Member 117967153-Oct-16 5:32 
QuestionText speed control using text to speech winform c# application. Pin
Member 1229735329-Sep-16 2:20
Member 1229735329-Sep-16 2:20 
AnswerRe: Text speed control using text to speech winform c# application. Pin
Pete O'Hanlon29-Sep-16 2:45
mvePete O'Hanlon29-Sep-16 2:45 
GeneralRe: Text speed control using text to speech winform c# application. Pin
Member 1229735329-Sep-16 7:00
Member 1229735329-Sep-16 7:00 
GeneralRe: Text speed control using text to speech winform c# application. Pin
Pete O'Hanlon29-Sep-16 7:15
mvePete O'Hanlon29-Sep-16 7:15 
AnswerRe: Text speed control using text to speech winform c# application. Pin
Dave Kreskowiak29-Sep-16 2:49
mveDave Kreskowiak29-Sep-16 2:49 
QuestionCan I Convert list = new List<...> from Net 4.0 to Net 2.0 ? Pin
Member 245846728-Sep-16 15:25
Member 245846728-Sep-16 15:25 
I want to convert the code List<TestGridImage> list = new List<TestGridImage>() below from Net4.0 to .Net 2.0. Can you help me ?
C#
namespace ExampleConvertList
{
    public partial class Form1 : Form
    {
        private List<TestGridImage> list;

        public Form1()
        {
            InitializeComponent();

            // I want to convert code have got List...
                        list = new List<TestGridImage>()
                       {
                             new TestGridImage() { KeyIndex = 0, KeyIndexAlt = 2 },
                             new TestGridImage() { KeyIndex = 1, KeyIndexAlt = 0 },
                             new TestGridImage() { KeyIndex = 2, KeyIndexAlt = 1 }
                       };
                       this.gridControl1.DataSource = list;

        }
    }

    public class TestGridImage
    {
        private int keyIndex;

        private int keyIndexAlt;

        public int KeyIndex
        {
            get { return keyIndex; }
            set { keyIndex = value; }
        }

        public int KeyIndexAlt
        {
            get { return keyIndexAlt; }
            set { keyIndexAlt = value; }
        }
    }
}


modified 29-Sep-16 3:06am.

AnswerRe: Can I Convert list = new List<...> from Net 4.0 to Net 2.0 ? Pin
Pete O'Hanlon28-Sep-16 21:30
mvePete O'Hanlon28-Sep-16 21:30 
AnswerRe: Can I Convert list = new List<...> from Net 4.0 to Net 2.0 ? Pin
OriginalGriff28-Sep-16 21:44
mveOriginalGriff28-Sep-16 21:44 
AnswerRe: Can I Convert list = new List<...> from Net 4.0 to Net 2.0 ? Pin
Member 245846729-Sep-16 17:50
Member 245846729-Sep-16 17:50 
QuestionC# class library to use with Excel VBA Pin
BobbyStrain28-Sep-16 14:33
BobbyStrain28-Sep-16 14:33 
AnswerRe: C# class library to use with Excel VBA Pin
Peter_in_278028-Sep-16 16:15
professionalPeter_in_278028-Sep-16 16:15 
GeneralRe: C# class library to use with Excel VBA Pin
BobbyStrain29-Sep-16 17:44
BobbyStrain29-Sep-16 17:44 
GeneralRe: C# class library to use with Excel VBA Pin
Peter_in_278029-Sep-16 18:20
professionalPeter_in_278029-Sep-16 18:20 
GeneralRe: C# class library to use with Excel VBA Pin
BobbyStrain30-Sep-16 9:54
BobbyStrain30-Sep-16 9:54 
QuestionAI in c# Pin
Member 861393428-Sep-16 8:32
Member 861393428-Sep-16 8:32 
AnswerRe: AI in c# Pin
Dave Kreskowiak28-Sep-16 8:55
mveDave Kreskowiak28-Sep-16 8:55 

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.