.net-framework-3.5

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 ? ...

What package of .Net framework is required on target client machine in order to run .Net winforms application?

I'm Trying to deploy my winforms project using installshield in order to make is available to be installed on other computers. My project is written under .net framework 3.5. My question is : What version of .net package should be installed on the target machine in order to be able to run my project? One thing to notice is that target...

Is there any built-in function in NET Framework which encodes a string to a valid XML unicode?

After checking an Xps file i noticed that the string within the Xps file <> is converted to &lt;&gt; So is there any built-in function in the .Net framework that could do this job for me? If it does not exist what characters becides <> should i escape in myOwn function? I try to implement a search within an xps file, but searching for ...

Debugging .NET framework source code

Hi, I've already read some posts on SO re this issue but couldn't find a solution in them. When I try to step into the .NET framework methods I get the message below on the output window. "Step into: Stepping over method without symbols" But Modules window would show that "Symbols loaded" to the cache directory I have specified. M...

Customizing the default "The application failed to initialize properly (0x00000135)" message

Hi, When the .net framework cannot be found, the following message is displayed: "The application failed to initialize properly (0x00000135)" Is there a way to make it a tiny bit more specific (instead of writing a wrapper in another language), eg. by telling the user about the .Net fx? Thanks! CFP. ...

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...

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 ? ...