Using using to make name references shorter--how?
Thu, 4 Sep 2008 15:53:28 -0700 (PDT)
Please consider the below and how to make name references shorter--
there has to be a way.
RL
using System;
namespace MyNamesSpace1
{
class ManagerClass
{
int i;
MyNamesSpace1.Form4.InteriorClass myCl_MF4IC; //shorter way?
public ManagerClass()
{
i ...
|
Access to Path Denied
Thu, 4 Sep 2008 17:32:43 -0500
I'm trying to write a simple app to verify that my data is being backed up
using a mirroring tool (and, perhaps, to make my own tool that does
specifically what I need)...
DirectoryInfo di = new DirectoryInfo(@"C:\users\schmidm");
FileInfo[] fiArr = di.GetFiles("*.*",
SearchOpti ...
|
Multiplication using Linq
Thu, 4 Sep 2008 15:06:52 -0700 (PDT)
Hello,
Is it possible to multiply all Prices in a List<Product> by 1.1 using
Linq?
Product has a property named Price.
Thanks,
Miguel ...
|
Change Highlight color on Context Menu
Thu, 4 Sep 2008 17:35:39 -0400
Hi, any way to change the default highlight color on a context menu from the
ugly yellow? Thanks.
...
|
How to hook up EventHandler or Delegate to UserControl thru Reflec
Thu, 4 Sep 2008 14:21:01 -0700
Hi
I have an Assembly that has various usercontrols that all implemnet
an Interface
The Interface
public interface ISettings
{
bool SaveSettings();
}
I then have a test pgm that will loop thru the asssmbly and find all classes
that implement the ISettings interface. I then displ ...
|
DataContractSerializer.ReadObject avoids the constructor?
Thu, 4 Sep 2008 13:06:58 -0700 (PDT)
DataContractSerializer.ReadObject creates an object without calling
any constructors. It doesn't require a parameterless constructor like
all other deserialization implementations I've ever seen or heard
about. That's just weird. How do they do it?
What's more weird, though, is that they don't initialize any f ...
|
Auto-Implemented Properties and Nullable Types
Thu, 04 Sep 2008 21:45:45 +0200
hi @all,
has anybody an explanation, why string? is not allowed for an
auto-implemented property?
namespace Test
{
class Class1
{
int? NullableInt { get; set; }
string? NullableString { get; set; }
}
}
mfG
--> stefan <--
...
|
|
|
drive letter on which OS is installed
Thu, 4 Sep 2008 11:57:35 -0700
How to determine the drive letter on which the OS is installed ?
...
|
Debugging with just PDB files
Thu, 4 Sep 2008 11:51:01 -0700
I need to use a debugger that allows me to step throu code by just using PDB
files. The PDB stores all the source information. How would I do this? ...
|
Mail to SMPT server Causes error
Thu, 4 Sep 2008 11:47:01 -0700
Okay I have a really weird issue. I'm not sure where to post this, but since
it's a .NET app I'll try posting it here first.
I've written a standard windows forms app to generate emails to a
distribution group. Code is clean. The smtp server is using the default port
25, and I'm providing credentials objec ...
|