Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

vinayvraman

@vinayvraman
About
Posts
21
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Next generation spinning top
    V vinayvraman

    Uses table-top display and tactile feedback[^]

    The Lounge com beta-testing question code-review

  • Comedy accident
    V vinayvraman

    Comedy Accident[^]

    The Lounge com question

  • Bipedal Cycling Robot Can Balance, Steer and Correct Itself
    V vinayvraman

    Bipedal Cycling Robot Can Balance, Steer and Correct Itself[^] Hope, in future, we do not end up sending our robots to cycling in Tour-de-france!

    The Lounge com question

  • Why VS2010 sucks today...
    V vinayvraman

    Also check class's ctor and onload functions... sometimes if you haven't checked for "DesignMode" property before executing some tasks like fetching values from db in above 2 methods, then they may fail and result in VS crashing without any proper error message, esp. so when you try to open the designer. :sigh:

    The Lounge csharp visual-studio winforms testing beta-testing

  • Why VS2010 sucks today...
    V vinayvraman

    Have ya installed the VS 2010 SP1? The VS 2010 used to crash a lot in my system before installing the above update!

    The Lounge csharp visual-studio winforms testing beta-testing

  • Circular dependency between classes
    V vinayvraman

    Ah!! Multiple parsing is the secret!! :-D Thank you very much Clive for answering my question and thank you Harold for sharing that wonderful link. :thumbsup:

    C# database question csharp c++ help

  • Circular dependency between classes
    V vinayvraman

    Consider the following example..

    public class Student
    {
        public string Name { get; set; }
        public IList Courses { get; set; }
    }
    
    public class Course
    {
        public string Name { get; set; }
        public IList Students { get; set; }
    }
    

    In this example a circular dependency exists between Student class and Course class. The scenario arises when we are dealing with entity framework - wherein db tables are created as classes for a Student database management system. In case of C++ we use the concept of forward declaration for telling a class 'A' that another class called 'B' exists even before defining the class 'B'. Can anybody explain how C# compiler solves this problem of circular dependency between classes? PS: Please avoid telling me that the classes sould be redesigned to avoid circular dependency. The question is not related to designing since the below mentioned classes are very much from day-to-day programming scenarios.

    If asking a question is bad; then not knowing the answer is worse!

    C# database question csharp c++ help

  • Why oh why database
    V vinayvraman

    Kudos to the original developer/db designer.. he has obfuscated the db columns so that nobody understands it without chanting some mantras..:-D

    The Lounge database sql-server design help tutorial

  • Women participants in the lounge?
    V vinayvraman

    I started the thread to encourage women participation & not to know their number @ CP... sometimes, I feel a taunt brings more people together than a praise and hence was the question asked!! :) :)

    The Lounge question

  • Women participants in the lounge?
    V vinayvraman

    In school I was good at précis writing... but you are good at doing the exact reverse. ;P

    The Lounge question

  • Traffic in Genoa
    V vinayvraman

    One needs good driving skills to manoeuver a car in that traffic!!

    The Lounge question csharp announcement

  • Women participants in the lounge?
    V vinayvraman

    Are there any active women participants in the Lounge? Or is it only we men who have a funny bone? ;P

    The Lounge question

  • Asus quad core tablet announced
    V vinayvraman

    Your words reminds me of a joke... Guy 1: What is the similarity between the wife and a mobile phone? Guy 2: Once you have got one of them, you always feel that you could have waited for a better and the latest model. :laugh:

    The Lounge asp-net mobile com ai-models

  • Asus quad core tablet announced
    V vinayvraman

    The product is marketed as a quad core system nevertheless it contains 5 cores. The 5th one called as the companion core or the low power core. Watch this video on youtube[^].

    The Lounge asp-net mobile com ai-models

  • Asus quad core tablet announced
    V vinayvraman

    Asus quad core tablet[^]

    The Lounge asp-net mobile com ai-models

  • Designing: Multiple interfaces implementation on classes
    V vinayvraman

    Thank you very much Ravi Bhavnani. The information you have provided here was useful to me. :)

    C# question help

  • Designing: Multiple interfaces implementation on classes
    V vinayvraman

    @BobJanova Thank you very much for replying to my question. :thumbsup: The main problem I was facing, as you rightly pointed out, was in distinguishing the meaning between responsibility and behaviour and hence couldn't tell if I can implement interfaces IA to IZ on a class without affecting its responsibilites. Through your terms "responsibility provider" and "behaviour decorator" I now understand interface implementation clearly. Thank you very much for the help. :)

    C# question help

  • Designing: Multiple interfaces implementation on classes
    V vinayvraman

    Its been discussed everywhere that a class cannot inherit from multiple classes but can implement multiple interfaces. My question is how many interfaces can be implemented on a single class? Shouldn't a class have a single responsibility? In case of multiple interface implementation, doesn't it allow classes to have multiple responsibilities? :~ What exactly is the idea behind classes going for multiple interfaces and implementing them all on a class? What number of interfaces is good or is bad? (Though "number" may not have a meaning here, I mean to ask what goes into deciding that a class should/shouldn't implement an interface) :confused: Any help in this area from anybody shall be of great help. :-D

    C# question help

  • Designing: Multiple interfaces implementation on classes
    V vinayvraman

    You have a point regarding posting the question here... Have reposted the same in a different forum...Thank ya.

    The Lounge question help

  • Designing: Multiple interfaces implementation on classes
    V vinayvraman

    Its been discussed everywhere that a class cannot inherit from multiple classes but can implement multiple interfaces. My question is how many interfaces can be implemented on a single class? Shouldn't a class have a single responsibility? In case of multiple interface implementation, doesn't it allow classes to have multiple responsibilities?:~ What exactly is the idea behind classes going for multiple interfaces and implementing them all on a class? What number of interfaces is good or is bad? (Though "number" may not have a meaning here, I mean to ask what goes into deciding that a class should/shouldn't implement an interface):confused: Any help in this area from anybody shall be of great help. :)

    The Lounge question help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups