¡@

Home 

c# Programming Glossary: literal

Multiline String Literal in C#

http://stackoverflow.com/questions/1100260/multiline-string-literal-in-c-sharp

in C# Is there an easy way to create a multiline string literal in C# Here's what I have now string query SELECT foo bar FROM.. @ symbol in front of a string to form a verbatim string literal string query @ SELECT foo bar FROM table WHERE id 42 You also..

Why does my C# gzip produce a larger file than Fiddler or PHP?

http://stackoverflow.com/questions/11435200/why-does-my-c-sharp-gzip-produce-a-larger-file-than-fiddler-or-php

infgen program to disassemble deflate streams last static literal 'Hello World end which is exactly as it should be. A single.. no code descriptors and simply coding all of the bytes as literals. No matches of previous strings with lengths and distances... 24 4 dist 25 5 dist 26 4 dist 27 5 dist 28 5 dist 29 5 literal 'Hello World end last stored end So what is all that The actual..

Is shifting bits faster than multiplying and dividing in Java? .NET?

http://stackoverflow.com/questions/1168451/is-shifting-bits-faster-than-multiplying-and-dividing-in-java-net

and optimize it in particular when the power of 2 is a literal I am mainly interested in the Java and .NET behavior but welcome..

In C#, can I escape a double quote in a verbatim string literal?

http://stackoverflow.com/questions/1928909/in-c-can-i-escape-a-double-quote-in-a-verbatim-string-literal

C# can I escape a double quote in a verbatim string literal In a verbatim string literal @ foo in C# backslashes aren't.. quote in a verbatim string literal In a verbatim string literal @ foo in C# backslashes aren't treated as escapes so doing to.. there any way to get a double quote in a verbatim string literal This understandably doesn't work string foo @ this word is escaped..

C# okay with comparing value types to null

http://stackoverflow.com/questions/1972262/c-sharp-okay-with-comparing-value-types-to-null

The int local is convertible to a nullable int. The null literal is convertible to a nullable int. Therefore this is a legal.. be false. The int local is convertible to a double the literal is convertible to a double and obviously they will never be..

Is there an alternative to string.Replace that is case-insensitive?

http://stackoverflow.com/questions/244531/is-there-an-alternative-to-string-replace-that-is-case-insensitive

expressions group 0 is always the entire match. For a literal you need to string value Regex.Replace PolicyAmount PolicyAmount..

Why is lock(this) {…} bad?

http://stackoverflow.com/questions/251391/why-is-lockthis-bad

Console.WriteLine Failed to obtain lock using 'Nancy Drew' literal locked by 'person.Name' since both are the same object thanks.. is 20 years old. Failed to obtain lock using 'Nancy Drew' literal locked by 'person.Name' since both are the same object thanks..

Overlapping matches in Regex

http://stackoverflow.com/questions/320448/overlapping-matches-in-regex

the matches would have to be done using a pattern not a literal string. c# regex overlap share improve this question A..

Can I convert a C# string value to an escaped string literal

http://stackoverflow.com/questions/323640/can-i-convert-a-c-sharp-string-value-to-an-escaped-string-literal

I convert a C# string value to an escaped string literal In C# can I convert a string value to a string literal the.. literal In C# can I convert a string value to a string literal the way I would see it in code I would like to replace tabs..

What does the @ symbol before a variable name mean in C#? [duplicate]

http://stackoverflow.com/questions/429529/what-does-the-symbol-before-a-variable-name-mean-in-c

I understand that the @ symbol can be used before a string literal to change how the compiler parses the string. But what does..

What's the @ in front of a string in C#?

http://stackoverflow.com/questions/556133/whats-the-in-front-of-a-string-in-c

this question It marks the string as a verbatim string literal anything in the string that would normally be interpreted as..

how can i get text formatting with iTextSharp

http://stackoverflow.com/questions/6882098/how-can-i-get-text-formatting-with-itextsharp

inTextObject false Flag showing if the next character is literal e.g. ' ' to get a ' ' character or ' ' to get ' ' bool nextLiteral..

Reading PDF documents in .Net [closed]

http://stackoverflow.com/questions/83152/reading-pdf-documents-in-net

inTextObject false Flag showing if the next character is literal e.g. ' ' to get a ' ' character or ' ' to get ' ' bool nextLiteral..

Nullable types and the ternary operator: why is `? 10 : null` forbidden? [duplicate]

http://stackoverflow.com/questions/858080/nullable-types-and-the-ternary-operator-why-is-10-null-forbidden

hand expression GetBoolValue 10 null The 10 is an int literal not int and null is well null . There's no implicit conversion..

Multiline String Literal in C#

http://stackoverflow.com/questions/1100260/multiline-string-literal-in-c-sharp

String Literal in C# Is there an easy way to create a multiline string literal..

Special Character in XPATH Query

http://stackoverflow.com/questions/1341847/special-character-in-xpath-query

Recommendation and you'll see that it defines a literal as Literal ' ' ^ ' ' ' ^' ' Which is to say string literals in XPath expressions.. that evaluates to the value. returns static string XPathLiteral string value if the value contains only single or double quotes.. Console.Write s Console.Write Console.WriteLine XPathLiteral s XmlElement elm d.CreateElement test d.DocumentElement.AppendChild..

ASP.Net double-click problem

http://stackoverflow.com/questions/1498269/asp-net-double-click-problem

s 32 d identicon r PG OnClick btnTest_Click pre Result asp Literal runat server ID ltlResult pre form body html share improve..

Delphi SOAP Envelope and WCF

http://stackoverflow.com/questions/2473051/delphi-soap-envelope-and-wcf

it is still valid SOAP. WCF by default uses the Document Literal Wrapped SOAP format which Delphi 7 can't handle at all on the.. solution is to simply tell Delphi to use the Document Literal style. You do that by turning on soLiteralParams in the THttpRio.Converter.Options.. the Document Literal style. You do that by turning on soLiteralParams in the THttpRio.Converter.Options . This tells Delphi..

“Treat all warnings as errors except…” in Visual Studio

http://stackoverflow.com/questions/267168/treat-all-warnings-as-errors-except-in-visual-studio

isn't just a hypothetical case this has happened to us. Literal #warning warnings are also unique. I often want to check it..

Adding StyleSheets Programmatically in Asp.Net

http://stackoverflow.com/questions/2943037/adding-stylesheets-programmatically-in-asp-net

and InnerText link .... things but they threw the Literal error which is I think common error. I used this code List Literal.. error which is I think common error. I used this code List Literal cssFiles new List Literal cssFiles.Add new Literal Text @ link.. error. I used this code List Literal cssFiles new List Literal cssFiles.Add new Literal Text @ link href ResolveUrl ~ Resources..

OnDataBinding vs Inline: pros, cons and overhead

http://stackoverflow.com/questions/702343/ondatabinding-vs-inline-pros-cons-and-overhead

the inline # syntax. Example of inline ASP.NET code asp Literal ID litExample runat server Text ' # Eval ExampleField .ToString.. ' Example of how I prefer to do it In the aspx asp Literal ID litExample runat server OnDataBinding litExample_DataBinding.. litExample_DataBinding object sender System.EventArgs e Literal lit Literal sender lit.Text string.Format 1 2 Eval ExampleField..