.net-framework-4.0

Is .NET replacement for COM ?

I want to know purpose of .NET and COM , Is .NET has the same purpose as that of COM ? Because main purpose of COM is to allow language interoperability so as that of .NET ? If so Why many companies still using COM for their development projects ? Is it worth learning COM when we can use .NET ? ...

Why does .Net Framework not use unsigned data types?

Possible Duplicate: Why is Array.Length an int, and not an uint Just wondering if there is a reason behind it, and maybe I shouldn't be adopting them in my code, but for example, the Count property of a List<> is an int. You can't have a negative count, so why shouldn't it be defined as a uint? Should I use only int's even tho...

WPF DataGrid not appear in Toolbox?

I am working with Visual studio 2008. I want to work on WPF DataGrid control. I downloaded WPF toolkit and install it, and then added toolkit reference in my project, but it does not recognize Datagrid control, and does not show it in Toolbox, I even try to add it in toolbox through choose Item.. but when I click WPFToolkit.dll, it giv...

Project compiled against .NET Framework 3.5 allows C# 4.0 features

I currently have a project I'm working on that has a target of .NET Framework 3.5. I am using Visual Studio 2010; however my coworkers use Visual Studio 2008. I am able to use C# 4.0 features such as optional function parameters, but if they try to build the same code with the same target, they are unable to. It was my understanding that...

Running different code depending on what Net Framework version is installed

Suppose I have a LINQ method that I wanted to run using normal LINQ if the Net Framework 3.5 is installed, but using PLINQ if 4.0 or higher is installed. Is this possible ? ...