public void RemoveDVD (string title)
{
...
strExp = "/DVDs/DVD[Title=title]/Title";
...
}
How can I put variable title into this expression?
Thanks much,
Mark
I am unable to compile backslash period: "Unrecognized escape sequence". Why oh why in the wide world of sports is this uncompilable?
string Pattern = "\."; <---------This won't compile.
Thanks,
Mark
I have a serialized class (XmlSerializer) to a FileStream like so:
Serialization.XmlRootAttribute(Namespace="http://www.BL.com")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(Company))]
public partial class Company
{ ...
I deserialize like so:
Company comp =...
I have a multithread application: a Master and several Workers. They each have a while(true) loop to do their thing.
The Master enqueues an integer in a shared queue. The Worker dequeues an integer if there is one there. I use Thread.Sleep(1) in the Master as a loop governor. I use a...
I have "SimpleClient.exe". I created an application configuration file "app.config"(see code below)to point SimpleClient to a new version of "Simple.dll" which is in the GAC. Should "app.config" be in the same directory or the root perhaps? When I run "SimpleClient.exe" MS wants to send an...
I am unable to get my NumericUpDown off my form when the program is running. I started by dragging the NUD from the toolbox. Then I set the AccessiblityRole to Dialog. I've messed around with .BringToFront, .Visible, .Focus, .Show, .Enabled and it still appears on the Form1. I would like it...
I have a class Card. I have overloaded the + operarator such that +(Card Card, int X). Can I use this + in the Card constructor? For example I want to add 5 to each card as it is being constructed. "this" doesn't seem to work.
Thanks,
Mark
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.