try this
emailMessage.EmailParamHeaders.To.ToArray().ToList().ForEach(x => {if(m != null) m.To.Add(x);});
try this
emailMessage.EmailParamHeaders.To.ToArray().ToList().ForEach(x => {if(m != null) m.To.Add(x);});
Oh I see what you did there....
the only issue I have with the v7 is that the control application runs at about 1 to 2% of cpu usage, sucking back on the folding capability. That being said, I have noticed only about a second per percentage point difference on a 20 hour smp work unit.
Check this out, they have their own board game http://www.indiegogo.com/Sharks-with-Lasers[^]
I have used the NCC statement a couple of times now, my relatives usualy balk but when I say I could lose my job they quickly change their tune.
I don't know how to do the connect to 3G phone via usb for sms, but you could try this company, it has an api that allows two way sms communication. Clickatell
I Suspect BobJanova is correct, but I just did some messing around with unsafe code and there is a possability that even though the wrapper is taking a double ref, it may be treating it as a pointer. Check this code out
static void Main(string\[\] args)
{
double\[\] testArr = new double\[\] { 1.0, 2.0, 3.0 };
for (int i = 0; i < 3; i++)
Console.WriteLine(testArr\[i\]);
test(ref testArr\[0\]);
for (int i = 0; i < 3; i++)
Console.WriteLine(testArr\[i\]);
}
public static unsafe void test(ref double x)
{
fixed (double\* ptr = &x)
{
ptr\[1\] = 2.5;
}
}
this produces the following instead of an error.
1
2
3
1
2.5
3
so there is a chance that simply passing a reference to the 0th index in the array might get what you want done. I don't have the wrapper setup to test it out myself.
She bought ammo for her divorce? Wow, she meant business.
I am on four that require daily attention, 10 that require work on at least a weekly basis and a total of 20 that I am responsible for. I have so many various IDE's open I don't know how my computer can support it. Thankfully I can run two eclipses, and four each of visual studio 2010, 2008 and 2005.
My only guess at this point is in the first test you are calling GetString first, and in the second test you are calling GetInt32 first. It's possible the the reader is casting your value to what you asked for first?
My building is built on a hill, so the groud floor is different depending what door you use to enter. Therefore the floor are not numbered, but lettered, from A to I.
The NSA Can identify you by your typing rate/style even before your fingers hit the keys.
Nervous Nigel has just made its way into my weekly vocabulary. Describes people I often refer to perfectly. Thank you good sir.
I have done similar things before using an sql data adapter. This produces a seperate file for xml schema though. I'm not sure if this is what your looking for.
SqlCommand cmd = new SqlCommand();
cmd.Connection = new SqlConnection(@"cnnstring");
cmd.Connection.Open();
cmd.CommandText = "SELECT \* FROM Table1; SELECT \* FROM Table2";
DataSet ds = new DataSet();
SqlDataAdapter da = new SqlDataAdapter(cmd);
da.Fill(ds);
ds.WriteXmlSchema(@"C:\\dat.xsd");
ds.WriteXml(@"C:\\dat.xml");
cmd.Connection.Close();
Might as well just move to Canada now, with global warming the way it is, it should be pretty much tropical before the end of the decade. Might as well move in while the houses are cheap!!
I apologize if this the wrong for this question. I have a C# app, more of a framework really that does calculations on a large set of proprietary data, the data in its raw form is unreadable, it has to be processed by the framework. I'm wondering if there is a way to create a driver so that applications can query the framework much like you would query a database? I can put the data into datatables and datasets, but I'm not sure how to make it accessible. Any suggestions are appreciated.
There was no sarcasm intended, I just saw your reply in my email and truly thought I had made a reply in the wrong forum. There was no intent of sarcasm or showing of my "mad skilz". I will choose to take your token of goodwill as that and not passive aggression; in the future will use eg. instead of ie. in those cases. Thanks.
oops, thought I was in the C# forums, must have stumbled into the C++ forums by accident.
It also gives hints at what to look for when reflecting through an object. IE Some asp.net data grids will auto bind columns to all properties of an object.
No matter how much you learn, you have that much more to learn. It never ends. The realization that you have a lot to learn makes you a programmer.