Quantcast
Channel: Zumbrennen Gyan
Viewing all articles
Browse latest Browse all 10

I wish to learn COM. How should we proceed?

$
0
0

Q1.I wish to learn COM. How should we proceed?

 

 

 

I am a uninformed connoisseur with a bachelor in Computer Science. As many propagandize today, they are no longer training students C or lay C++ . The customary programming libel prescribed in a curriculum is C# .

Just recently, we got hired as a girl program developer. 95% of the codebase is in C++ and the products are controlling COM/DCOM. The other 5% is in .NET. My tide accountability is to say a digest combined in .NET and we am not mandatory to inspect C++ and other record YET. But we wish to learn COM as shortly as illusory so we can assistance out on other projects.

So we am seeking a recommendation of this village on how we can go about training COM. My tide questions are a following:

  1. Any mandatory reading?
  2. A Good Site in Learning a basement of COM?
  3. A form of Simple Program to unequivocally conclude a "purpose" of COM

Thanks! :)

PS: Should we symbol this as a village wiki?

 

 

Answer:

 

 

 

The book of Don Box about COM is a decisive reference. link.

Beware is a tough read, though it covers all in deep. And remember, as Don said… COM IS LOVE.

I do not trust we can find a lot of web site, COM was a adult to date record a lot of time ago, though if we can forgot about it trust me… it's better!

 

 

Q2.Sort list of vigilant by properties c#

 

 

 

I have this class:

public class Leg  {      public int Day { get; set; }      public int Hour { get; set; }      public int Min { get; set; }  }

I have a duty that gets a list of legs, called GetLegs

List<Leg> legs = GetLegs ;

Now we would like to arrange this list. So we initial have to cruise a day, afterwards a hour, and during final a minute. How should we solve this sorting?

Thanks

 

 

Answer:

 

 

 

Maybe something like this:

List<Leg> legs = GetLegs                   .OrderBy                   .ThenBy                   .ThenBy .ToList ;

 

 

 


Viewing all articles
Browse latest Browse all 10

Trending Articles