|
|
Translate:
Honey , The error has occurred on line four.
Doesn't need to write something in App's form ?
|
|
|
|
|
Dear All:
Could anyone give me some useful articles about introducing the symbol "|" and "@" in C# please?
For example, I saw a code something like:
FileSystemWatcher fsm = new FileSystemWatcher(Environment.GetEnvironmentVariable("USERPROFILE"));
fsm.NotifyFilter = NotifyFilters.FileName | NotifyFilters.LastWrite;
ThanksAsura
|
|
|
|
|
The "|" means "or", can be found here[^]. The "@" symbol is mostly used with strings[^] I are Troll
|
|
|
|
|
I think this two characters have nothing in common.
Ming Luo wrote: "@"
Is called a verbatim.
Use of Verbatim[^]
and
Ming Luo wrote: "|"
is a logical operator:
http://en.wikibooks.org/wiki/C_Sharp_Programming/Operators[^]Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
|
|
|
|
|
'|' is logical "OR' operator.
'@' is used with strings to avoid escape characters.
you can use like @"c:\hello.cs" ; instead of adding escape character for '\\'
|
|
|
|
|
cooljeba1 wrote: '|' is logical "OR' operator.
'|' is bitwise 'OR' operator for integers (also logical 'OR' operator for booleans)
'||' is logical 'OR' operator for booleans
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. [The QA section does it automatically now, I hope we soon get it on regular forums as well]
|
|
|
|
|
عسلم اگه ميشه يه كمي سرعتر جواب برنامه رو بنويس من منتظرم
|
|
|
|
|
انخفاض فى معرض الانجليزية في إحدى الأمسيات كنت هناك
عندما سمعت شوومن الصراخ تحت الذوق
أنا عندي مجموعة جميلة من جوز الهند
هناك انهم جميعا يقفون في طابور
كبير منها ، حتى الصغيرة منها ، بعضها كبير مثل رأسك
نعطيهم تويست نفض الغبار من المعصم
هذا ما قال شوومن
أنا عندي مجموعة جميلة من جوز الهند
كل لك رمي الكرة سوف تجعلني الغنية
هناك تقف زوجتي ، ومعبود لي الحياة
الغناء لفة وعاء الكرة بنس واحد في الملعب
لفة وعاء الكرة بنس واحد في الملعب
لفة وعاء الكرة بنس واحد في الملعب
لفة وعاء على الكرة ، ولفة وعاء الكرة
الغناء لفة وعاء الكرة بنس واحد في الملعب
أنا عندي مجموعة جميلة من جوز الهند (انهم جميلة)
هناك انهم جميعا يقفون في طابور (واحد ، إثنان ، ثلاثة ، أربعة)
كبير منها ، حتى الصغيرة منها ، بعضها كبير مثل رأسك (وأكبر)
نعطيهم تويست نفض الغبار من المعصم
هذا ما قال شوومن
أنا عندي مجموعة جميلة من جوز الهند
كل لك رمي الكرة سوف تجعلني الغنية
هناك تقف زوجتي ، ومعبود لي الحياة
الغناء لفة وعاء الكرة بنس واحد في الملعب (جميعا الآن)
لفة وعاء الكرة بنس واحد في الملعب (الوئام)
لفة وعاء الكرة بنس واحد في الملعب
لفة وعاء على الكرة ، ولفة وعاء الكرة
الغناء لفة وعاء الكرة بنس واحد في الملعب
|
|
|
|
|
Hey dont you guys have better work to do..
this is the forum to help your C# problem not the language you are typing..vikas da
|
|
|
|
|
I used Google Language Tools to translate the lyrics of "I've Got a Lovely Bunch of Coconuts" into Arabic.
I don't really have any idea what the OP posted.
|
|
|
|
|
ROFLMAO!!!!!!!!!
I'd vote ten if I could ___________________________________________
.\\axxx
(That's an 'M')
|
|
|
|
|
|
You'll get more replies if you post a question in plain English, simply because more people will be able to read it I are Troll
|
|
|
|
|
|
|
|
|
I want to make a graph based on two values x and y that has data from the database in Windows Forms. I was thinking of using crystal reports. I've looked for materials in both codeproject and googled the internet but i can't really find any on charts and graphs. Can anyone please point me to such an article. It would be of great help. Thanks.Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
modified on Monday, February 8, 2010 2:40 AM
|
|
|
|
|
You don't need crystal reports to display a graph there are plenty of graph and chart controls available. Look for Microsoft chart controls http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5-9CA8-910AE6EA442C&displaylang=en I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Interesting. Thanks alot. Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
|
|
|
|
|
I have (button1 in my form)
string nameProp = "button1.Text";
how can i set this property for button1.
|
|
|
|
|
Start by reading a book. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
What do you mean ?
Can u help?
|
|
|
|
|
You can do like this
Control[] controls = this.Controls.Find("button1", true);
if (controls.Length > 0)
{
Control control = controls[0];
PropertyInfo[] properties = control.GetType().GetProperties();
foreach (PropertyInfo controlProperty in properties)
{
if (controlProperty.Name == "Text")
{
controlProperty.SetValue(control, "My new Value", null);
}
}
}
-----------------------------
Shakeel Iqbal
------------------------------
My New Article
Task Manager
|
|
|
|