c# ref parameters

2 posts, 0 answers
  1. miksh
    miksh avatar
    275 posts
    Member since:
    Nov 2006

    Posted 21 Jan 2010 Link to this post

    JustCode makes a warning that the parameter is not used for ref parameters, e.g.

    public void MyFunction(ref DateTime today)
    {
        today = DateTiem.Today;
    }

    I think that this is not correct. At least there should be an option to toggle this warning with off by default.
  2. Deyan Varchev
    Admin
    Deyan Varchev avatar
    150 posts

    Posted 22 Jan 2010 Link to this post

    Hello Michael,

     Thanks for reporting this issue. We have logged it for fixing and hopefully soon it will be fixed. As a reward for your efforts we have granted you some Telerik points.

    If you have any other problems or questions please feel free to contact us again.

    All the best,
    Deyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
Back to Top