.Net help please

HavocXphere

Honorary Master
Joined
Oct 19, 2007
Messages
33,153
Reaction score
1,297
Location
Europe
So I'm venturing into .Net territory and need some help.:o

1) I've got version 3.5, version 2 and version 3 installed because some random progs insisted on installing the old ones. The problem now is that it won't let me remove them again because some programs need them. Any ideas how to force it?

2) Is it just me or are the forms on C# rendering a hint slower than on my old Delphi apps?

3) Why are the v2 and v3 like >150mb in the add/remove while v3.5 is 35mb? The v3.5 exe itself is 200mb.

If someone happens to have an excellent C# online tut url, then that would also be appreciated.:)

Thanks
 
1) I've got version 3.5, version 2 and version 3 installed because some random progs insisted on installing the old ones. The problem now is that it won't let me remove them again because some programs need them. Any ideas how to force it?

There's really no need to remove the older versions unless you're having worries with regard to your hard drive space.

2) Is it just me or are the forms on C# rendering a hint slower than on my old Delphi apps?

I speak under correction here, but this is likely because of the way that .NET compiles. C# code is compiled to into Common Intermediary Language (CIL) for use in the Common Language Runtime (CLR). The Just in Time (JIT) compiler then converts the CIL code into assembly so that your CPU can understand it. Delphi probably doesn't go through all these steps so you're probably right about C# form rendering being a touch slower by comparison

3) Why are the v2 and v3 like >150mb in the add/remove while v3.5 is 35mb? The v3.5 exe itself is 200mb.

You got me on this one... Maybe Microsoft optimized the framework making it smaller?

If someone happens to have an excellent C# online tut url, then that would also be appreciated.:)

Thanks

I would say figure out what you want to do and then look up tutorials that'll allow you to do that thing specifically. That's how I started programming in 2003. First thing I ever wanted to write was an email form for my website. First language that came up in google was VB.NET so I wrote VB for a while. I learned a lot of things (Beth Massi's Windows Forms Over Data video series taught me how to access and use databases) and eventually moved on to C#.

Hope this helps
 
.NET 3.5 includes 3.0 and 2.0. They are all CLR 2.0 (Common Language Runtime). If you have any apps that specifically required 2.0 or 3.0 to be installed then I can only think they are checking the wrong things to determine whether it's installed.

The reason 3.5 is 200MB is because it includes all of 3.0 and 2.0 and some additional libraries, however some of those files would be installed into the 2.0 and 3.0 folders instead of the 3.5 folder - that might explain why the numbers don't add up.

The rendering time of .NET might be fractionally slower than something that is natively compiled, but it shouldn't be noticable. If it is, I would assume you either have a really old PC or more likely that there is something in your code that isn't efficient.
It could also be Debug symbols slowing things a little bit. Have you tested performance when compiling in Release mode?
 
Just chekced the date of OPs post... - I'm sure this isn't relevant anymore.
 
lets see if he responds to this thread
haha. Well wasn't quite fair in that I got a PM about it as well, but yes I would have seen it anyway.

And no, I'm no longer work in .Net. Too busy pulling 12 hr work days on finance-y stuff. I'm sure the posts above will benefit some random googler that stops by though
 
Top
Sign up to the MyBroadband newsletter
X