Search:

Type: Posts; User: goldeen

Search: Search took 0.07 seconds.

  1. Finally let me paste functional code. If you have...

    Finally let me paste functional code. If you have any comments, please share. I'm curious to hear if this is the right approach (finally).

    I used: 1. a class MyData, 2. "ref" when accessing the...
  2. As I researched a little more, here are 2...

    As I researched a little more, here are 2 approaches, which I was able to work out:

    1. using Tuple


    class Product
    {
    public int Id { get; set; }
    public string Name { get;...
  3. Thanks. That makes sense, although (don't take it...

    Thanks. That makes sense, although (don't take it the wrong way) creating a DataContext class seems artificial to me. Although for sure better than the approach, which I used, which might create bugs...
  4. C# Returning multiple objects from a Method - question

    Firstly, I wish to thank people who replied to my previous posts (like florem, many thanks). I see little activity in the forum, yet I'd like to post a problem I had yesterday while writing some C#...
  5. Thread: Delegates

    by goldeen
    Replies
    7
    Views
    3,139

    Thank you. I will take a look. In the...

    Thank you. I will take a look.

    In the meanwhile, I got a bit intrigued and I approached their 'fantastic' example (*sarcasm*) with the following code.

    I guess you might approach the logic in...
  6. Thread: Delegates

    by goldeen
    Replies
    7
    Views
    3,139

    Well thank you for a reply. LOL Any reply is...

    Well thank you for a reply. LOL Any reply is good. At least I know I'm on the same page as some other people who learn this stuff. Yeah, I watched C# 103. Nelson explains it well, as he always does,...
  7. Thread: Delegates

    by goldeen
    Replies
    7
    Views
    3,139

    Delegates

    C#:
    I struggle to understand the concept of delegates in C#. My question is: why on earth would you even want to use a delegate? You can use methods and classes and they will work just fine, won't...
  8. Replies
    5
    Views
    2,543

    Again thank you. This is a great help. Yup, I...

    Again thank you. This is a great help.

    Yup, I remember using such a syntax (I mean object initialization) with an anonymous type. It was Html Helper in MVC View:



    @Html.ActionLink("Users",...
  9. Replies
    5
    Views
    2,543

    Thank you for this clarification. This explains...

    Thank you for this clarification. This explains it.

    Still, this seems like a less preferred way to do things, is that right? I mean if I have a choice to either create a class with a constructor...
  10. Replies
    5
    Views
    2,543

    C# syntax question

    Hello,

    I have a question regarding C# syntax and logic of sorts.

    Firstly, let me say what I do understand. Let's say you create a certain class with properties, a constructor and a method. Then...
  11. Replies
    4
    Views
    3,445

    I'd like to thank you both for the clarification....

    I'd like to thank you both for the clarification.

    By the way, I noticed that only one of the methods accepts string[], while both accept string.

    P.S. A note to the admin: I've only just noticed...
  12. Replies
    4
    Views
    3,445

    C# basic question

    Grettings,

    Could someone please help me understand this very basic syntax issue regarding C# please?

    Here is some ridiculously basic C# code:



    using System;
    using...
  13. Replies
    19
    Views
    13,747

    I have the same problem. I am a Member Sponsor...

    I have the same problem. I am a Member Sponsor and it says "CANNOT WATCH VIDEOS. You are not a Member Sponsor". I am a Member Sponsor as it says so in my profile.

    Please help.
  14. Replies
    1
    Views
    1,667

    Cannot load videos as a Member Spondor

    When I try to watch the videos, it says:

    CANNOT LOAD VIDEO!
    This video requires member sponsorship to view. Click here to learn more about member sponsorship!

    As I became a Member Spondor, why...
Results 1 to 14 of 14