Why Path.Combine doesn't add the Path.DirectorySeparatorChar after the drive designator?

Viewed 3037
var actual = Path.Combine("c:", "filename");
var expected = @"c:\filename";
Assert.AreEqual(expected, actual);

Result

{Assert.AreEqual failed. Expected:<c:\filename>. Actual:<c:filename>.

Why?

2 Answers
Related