all groups > dotnet clr > march 2006 > threads for march 1 - 7, 2006
Filter by week: 1 2 3 4 5
Compress Files
Posted by Amelyan at 3/7/2006 11:30:29 AM
I have a bunch of files I need to put into Compressed (zipped) Folder,
MyFiles.zip file, similarly to what Windows XP does when you send files to
compressed zipped folder. What is the simplest way to compress these files
into a .zip?
I found System.IO.Compression, but I am not sure how to ... more >>
Can CLR 1.1 and CLR 2.0 run in the same app?
Posted by Brian R. at 3/6/2006 5:19:27 PM
Is it possible to run two versions of the CLR in the same application? The
framework of our application was developed in 2003 under CLR 1.1 and some of
our plugins were developed in VS 2005 and need the 2.0. The 2003 components
experience problems when running with the 2.0 CLR only.
I hav... more >>
Using Reflection to Get Inherited types
Posted by source at 3/6/2006 11:08:37 AM
I am tyring to get inhertied members of a type using relfection, but i am
not able to do it.
What bindingflags do I need to use to get inhertied members.
Any pointers will help
source
... more >>
Why does compiler emit NOP instructions?
Posted by Peter Rilling at 3/4/2006 10:11:42 PM
Hi.
Not too long I had to use Reflection.Emit to dynamically generate some
classes that were only to be dynamically generated based on runtime
conditions.
Before emitting the op codes, I created a class and compiled it, then
reviewed the op codes using Reflector.
Well, I noticed the c... more >>
polymorphism
Posted by Michał Januszczyk at 3/3/2006 1:16:27 AM
is there any way to make Animal.Foo() being called ??
//==============================
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Animal z = new Mouse();
z.DoSth();
}
}
class An... more >>
Event handlers and memory usage
Posted by 6tc1 NO[at]SPAM qlink.queensu.ca at 3/2/2006 1:33:34 PM
Hi all, I'm inquiring about the mechanism that is used to implement
event handlers in .NET (not really relevant, but I'm using C#).
Anyway, I've noticed that I can pass an object in an event argument and
if the receiver (event handler) of that event changes any of the
properties in that object, ... more >>
Is it bad to throw the exception caught, un-alterered?
Posted by NB at 3/2/2006 5:21:36 AM
Hi all,
This thing came up while discussing on the practices for Exception
Handling. One of my freinds has strong feeling to not to do soomething
like:
try
{
// try something
}
catch (Exception ex)
{
throw(ex);
}
I was told that catching and throwing the same exception is B... more >>
|