¡@

Home 

c# Programming Glossary: i.e

What NoSQL solutions are out there for .NET? [closed]

http://stackoverflow.com/questions/1777103/what-nosql-solutions-are-out-there-for-net

versatile whilst only supporting a limited operation set. i.e. Redis has been commonly seen as a distributed cache message..

C# - Convert UTC/GMT time to local time

http://stackoverflow.com/questions/179940/c-sharp-convert-utc-gmt-time-to-local-time

a DateTime field. The server returns a field in GMT format i.e. with a Z at the end. However we found that .NET seems to do..

C# member variable initialization; best practice?

http://stackoverflow.com/questions/298183/c-sharp-member-variable-initialization-best-practice

with auto implemented properties field initializers cannot i.e. DefaultValue public string Foo get set public Bar ctor Foo.. field initializer syntax I find it keeps things localized i.e. private readonly List SomeClass items new List SomeClass public.. initialized in the constructors that call base ... i.e. the public Bar string foo ctor. The other constructor does..

Do event handlers stop garbage collection from occuring?

http://stackoverflow.com/questions/298261/do-event-handlers-stop-garbage-collection-from-occuring

this ceases to be a problem. Note that this is one way i.e. if we have publisher.SomeEvent target.SomeHandler then publisher..

Are string.Equals() and == operator really same? [duplicate]

http://stackoverflow.com/questions/3678792/are-string-equals-and-operator-really-same

this question Two differences Equals is polymorphic i.e. it can be overridden and the implementation used will depend..

Why is it important to override GetHashCode when Equals method is overridden?

http://stackoverflow.com/questions/371328/why-is-it-important-to-override-gethashcode-when-equals-method-is-overridden

them using code like below to reduce diagonal collisions i.e. so that new Foo 3 5 has a different hash code to new Foo 5..

How to get Frequency from FFT result

http://stackoverflow.com/questions/4364823/how-to-get-frequency-from-fft-result

The bin at N 2 represents energy at the Nyquist frequency i.e. Fs 2 22050 Hz in this example but this is in general not of..

Casting vs using the 'as' keyword in the CLR

http://stackoverflow.com/questions/496096/casting-vs-using-the-as-keyword-in-the-clr

If randomObject really should be an instance of TargetType i.e. if it's not that means there's a bug then casting is the right..

C# - The foreach identifier and closures

http://stackoverflow.com/questions/512166/c-sharp-the-foreach-identifier-and-closures

With foreach the variable is declared outside the loop i.e. Foo f while iterator.MoveNext f iterator.Current do something..

When to use struct in C#?

http://stackoverflow.com/questions/521298/when-to-use-struct-in-c

Proper use of the IDisposable interface

http://stackoverflow.com/questions/538060/proper-use-of-the-idisposable-interface

if your object has allocated a 250MB System.Drawing.Bitmap i.e. the .NET managed Bitmap class as some sort of frame buffer.. when the garbage collector finally gets around to freeing i.e. finalizing our object. Note The garbage collector will eventually.. of the Finalize method ~MyObject we're being finalized i.e. destroyed call Dispose in case the user forgot to Dispose Warning..

Random row from Linq to Sql

http://stackoverflow.com/questions/648196/random-row-from-linq-to-sql

do a random ordering at the SQL Server courtesy of NEWID . i.e. var cust from row in ctx.Customers where row.IsActive your..

C# Finalize/Dispose pattern

http://stackoverflow.com/questions/898828/c-sharp-finalize-dispose-pattern

does the client have to manually call the dispose method i.e. NoGateway objNoGateway new NoGateway Do stuff with object objNoGateway.Dispose..

byte + byte = int… why?

http://stackoverflow.com/questions/941584/byte-byte-int-why

am performing a long list of calculations on small numbers i.e. 8 and storing the intermediate results in a large array. Using..

Difference Between Equals and ==

http://stackoverflow.com/questions/971954/difference-between-equals-and

reference types In Java will always compare for identity i.e. whether the two values are references to the same object. This.. overloaded operator which handles it will behave like Java i.e. comparing for reference equality . However if there's an overload.. how it wants but it typically implements value equality i.e. a and b can refer to different but equal values and it would..

Am I implementing IDisposable correctly?

http://stackoverflow.com/questions/1136210/am-i-implementing-idisposable-correctly

Is there any issue with the current implementation I.e. do I have to release the underlying FileStream manually Is..

How to start unit testing or TDD?

http://stackoverflow.com/questions/1365943/how-to-start-unit-testing-or-tdd

or is testing the wrong thing it may pass regardless. I.e. if you write a bad test before you may get a green light when..

COM object that has been separated from its underlying RCW can not be used - why does it happen?

http://stackoverflow.com/questions/1492879/com-object-that-has-been-separated-from-its-underlying-rcw-can-not-be-used-why

Try to save reference to it in your AdUser object. I.e. it should looks like public class AdUser DirectoryEntry DirectoryEntry..

Deciding on when to use XmlDocument vs XmlReader

http://stackoverflow.com/questions/1505075/deciding-on-when-to-use-xmldocument-vs-xmlreader

wonder how well XmlReader fares when the XML is deep wide I.e. the XML I'm dealing with is much like a data object model 1..

Programmatically generate script for all objects in a database

http://stackoverflow.com/questions/1695738/programmatically-generate-script-for-all-objects-in-a-database

from Microsoft SQL Server Management Studio 2008. I.e. call some code and have all the objects tables SPs constraints..

VB to C# Functions

http://stackoverflow.com/questions/1722896/vb-to-c-sharp-functions

based index while the .NET method uses a zero based index. I.e. Mid asdf 2 2 corresponds to asdf .SubString 1 2 . is not the..

Silverlight Hosted in Winforms

http://stackoverflow.com/questions/198360/silverlight-hosted-in-winforms

interact with each other using JavaScript as a middleman I.e. have the form speak to the browser's javascript and have that..

Embedding assemblies inside another assembly

http://stackoverflow.com/questions/222655/embedding-assemblies-inside-another-assembly

inside the class library as some kind of resource I.e. instead of having MyAssembly.dll SomeAssembly1.dll and SomeAssembly2.dll..

Accessing Excel Spreadsheet with C# occasionally returns blank value for some cells

http://stackoverflow.com/questions/298726/accessing-excel-spreadsheet-with-c-sharp-occasionally-returns-blank-value-for-so

write access negative. SQL syntax SELECT FROM sheet1 . I.e. excel worksheet name followed by a and wrapped in brackets...

WCF HttpTransport: streamed vs buffered TransferMode

http://stackoverflow.com/questions/4043683/wcf-httptransport-streamed-vs-buffered-transfermode

the fact that I did not change the contract in any way . I.e. I did not create a contract with a single Stream parameter..

How do I do pagination in ASP.NET MVC?

http://stackoverflow.com/questions/446196/how-do-i-do-pagination-in-asp-net-mvc

preferred and easiest way to do pagination in ASP.NET MVC I.e. what is the easiest way to break up a list into several browsable..

C# How do I set the selected item in a comboBox to match my string?

http://stackoverflow.com/questions/450059/c-sharp-how-do-i-set-the-selected-item-in-a-combobox-to-match-my-string

test1 test2 test3 how do I set the selected item to test1 I.e. how do I match my string to one of the comboBox items I was..

Sum of digits in C#

http://stackoverflow.com/questions/478968/sum-of-digits-in-c-sharp

to read implementation of calculating the sum of digits I.e. Given the number 17463 1 7 4 6 3 21 c# algorithm sum of digits..

Is C# really slower than say C++?

http://stackoverflow.com/questions/5326269/is-c-sharp-really-slower-than-say-c

arbitrary computations to be carried out at compile time I.e. the template system is Turing complete . As such essentially..

C# version of java's synchronized keyword?

http://stackoverflow.com/questions/541194/c-sharp-version-of-javas-synchronized-keyword

c# have its own version of the java synchronized keyword I.e. in java it can be specified either to a function an object..

How can I render text on a WriteableBitmap on a background thread, in Windows Phone 7?

http://stackoverflow.com/questions/5666772/how-can-i-render-text-on-a-writeablebitmap-on-a-background-thread-in-windows-ph

Text rendering should support a transparent background. I.e. you should see the background image between the characters...

Why does “Func<bool> test = value ? F: F” not compile?

http://stackoverflow.com/questions/6015747/why-does-funcbool-test-value-f-f-not-compile

off by now. However the problem is essentially the same. I.e. there could be any number of matching delegate declarations..

Is there a reasonable approach to “default” type parameters in C# Generics?

http://stackoverflow.com/questions/707780/is-there-a-reasonable-approach-to-default-type-parameters-in-c-sharp-generics

can specify that a certain type parameter is a default. I.e. unless explicitly specified it will use type T. Can this be..

Entity Framework - Using Transactions or SaveChanges(false) and AcceptAllChanges()?

http://stackoverflow.com/questions/815586/entity-framework-using-transactions-or-savechangesfalse-and-acceptallchanges

a distributed transaction across two different Contexts. I.e. something like this bad using TransactionScope scope new TransactionScope..

The requested page cannot be accessed because the related configuration data for the page is invalid error

http://stackoverflow.com/questions/9216158/the-requested-page-cannot-be-accessed-because-the-related-configuration-data-for

are using so it's difficult to advise which steps to take. I.e. in IIS 7.5 the error message you're quoting is likely to occur..