¡@

Home 

c# Programming Glossary: very

Create Excel (.XLS and .XLSX) file from C# [closed]

http://stackoverflow.com/questions/151005/create-excel-xls-and-xlsx-file-from-c-sharp

but they are working on adding that functionality in. It's very simple small and easy to use. Plus it has a DataSetHelper that..

Simple 2 way encryption for C#

http://stackoverflow.com/questions/165808/simple-2-way-encryption-for-c-sharp

2 way encryption for C# I'm looking for very simple encrypt and decrypt functionality for some data. It's..

What is the correct way to create a single instance application?

http://stackoverflow.com/questions/19147/what-is-the-correct-way-to-create-a-single-instance-application

c# .net wpf mutex share improve this question Here is a very good article regarding the Mutex solution. The approach described.. when the user tries to start another instance. That's a very nice touch that the other Mutex solutions described here do..

Dependency Inject (DI) “friendly” library

http://stackoverflow.com/questions/2045904/dependency-inject-di-friendly-library

Last Responsible Moment Keep objects decoupled until the very end. Normally you can wait and wire everything up in the application's.. until the very end. Normally you can wait and wire everything up in the application's entry point. This is called the.. var foo new MyFacade .CreateFoo It would however be very discoverable that it's possible to supply a custom dependency..

What is a good pattern for using a Global Mutex in C#?

http://stackoverflow.com/questions/229565/what-is-a-good-pattern-for-using-a-global-mutex-in-c

pattern for using a Global Mutex in C# The Mutex class is very misunderstood and Global mutexes even more so. What is good.. 'Marc' to work also on localized systems don't use just Everyone var allowEveryoneRule new MutexAccessRule new SecurityIdentifier.. on localized systems don't use just Everyone var allowEveryoneRule new MutexAccessRule new SecurityIdentifier WellKnownSidType.WorldSid..

When to Use Static Classes in C#

http://stackoverflow.com/questions/241339/when-to-use-static-classes-in-c-sharp

System namespace. To me that example doesn't seem to cover very many possible usage scenarios for static classes. In the past.. around causing redundancy and maintenance hell. They're very easy to use no instantiation no disposal just fire'n'forget... above. As our ability of interchanging implementations is very limited we'll also have trouble replacing production code with..

VS2010 does not show unhandled exception message in a WinForms Application on a 64-bit version of Windows

http://stackoverflow.com/questions/4933958/vs2010-does-not-show-unhandled-exception-message-in-a-winforms-application-on-a

your code really belongs in the Load event handler. It is very rare to need it it is however popular with VB6 programmers where.. size after user preferences and autoscaling is applied. Everything else belongs in the constructor. Update to Windows 8 it..

Protect .NET code from reverse engineering?

http://stackoverflow.com/questions/506282/protect-net-code-from-reverse-engineering

code has to be converted into native machine code and every application that is runnable is vulnerable. What you want to.. consider writing your own. Sometimes custom packers can be very effective because there aren't well published methods on how.. single byte patch. You just need to accept that there is a very real chance people are going to pirate your software. There..

Use of Application.DoEvents()

http://stackoverflow.com/questions/5181777/use-of-application-doevents

It not only dispatches paint messages it delivers everything else as well. And there's a set of notifications that cause.. stop it is still executing the loop. That's bad. Very very bad. There's more the user could click the same menu item or..

Creating a blocking Queue<T> in .NET?

http://stackoverflow.com/questions/530211/creating-a-blocking-queuet-in-net

queue share improve this question That looks very unsafe very little synchronization how about something like.. share improve this question That looks very unsafe very little synchronization how about something like class SizeQueue..

Proper use of the IDisposable interface

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

P Invoke calls to get outside of the nice comfy world of everything available to you in the .NET Framwork is unmanaged and.. do better If the user calls Dispose on your object then everything has been cleaned up. Later on when the garbage collector.. There's no point in the GC running the finalizer everything's taken care of. To answer your original question Why not..

Difference between Property and Field in C# 3.0+

http://stackoverflow.com/questions/653536/difference-between-property-and-field-in-c-sharp-3-0

myString Edit I probably didn't explain what I meant very well. Once i know i don't want to use my class with techniques.. it's simply not good OO design. And if you don't have a very good reason for doing it always choose a property over a public..

Retrieving Property name from lambda expression

http://stackoverflow.com/questions/671968/retrieving-property-name-from-lambda-expression

trees share improve this question I recently did a very similar thing to make a type safe OnPropertyChanged method...

Is it possible to dynamically compile and execute C# code fragments?

http://stackoverflow.com/questions/826398/is-it-possible-to-dynamically-compile-and-execute-c-sharp-code-fragments

would prefer to compile it for performance reasons. At the very least I could define an interface that they would be required..

How to use HTML Agility pack

http://stackoverflow.com/questions/846994/how-to-use-html-agility-pack

HtmlDocument.Load method also accepts a stream which is very useful in integrating with other stream oriented classes in..

Very simple C# CSV reader

http://stackoverflow.com/questions/1375410/very-simple-c-sharp-csv-reader

simple C# CSV reader I'd like to create an array from a CSV..

What are the real-world pros and cons of each of the major mocking frameworks?

http://stackoverflow.com/questions/1718463/what-are-the-real-world-pros-and-cons-of-each-of-the-major-mocking-frameworks

Isolator Pros Type safe AFAIR Can mock anything Cons Very invasive Potential Vendor Lock In Does not encourage good design..

Is the conditional operator slow?

http://stackoverflow.com/questions/2259741/is-the-conditional-operator-slow

micro optimization share improve this question Very odd perhaps .NET optimization is backfireing in your case The..

CallContext vs ThreadStatic

http://stackoverflow.com/questions/273301/callcontext-vs-threadstatic

storage. c# .net share improve this question Very often a request will use the same thread throughout but it certainly..

Anonymous Types - Are there any distingushing characteristics?

http://stackoverflow.com/questions/315146/anonymous-types-are-there-any-distingushing-characteristics

name of the type will start with and contain AnonymousType Very little of this is guaranteed by the specification however so..

Is a double really unsuitable for money?

http://stackoverflow.com/questions/316727/is-a-double-really-unsuitable-for-money

agnostic decimal money share improve this question Very very unsuitable. Use decimal. double x 3.65 y 0.05 z 3.7 Console.WriteLine..

Reading csv file

http://stackoverflow.com/questions/3507498/reading-csv-file

useful. I found another way doing that using DataTable. Very interesting approach here is the link link text c# csv share..

Very large collection in .Net causes out-of-memory exception

http://stackoverflow.com/questions/3657181/very-large-collection-in-net-causes-out-of-memory-exception

large collection in .Net causes out of memory exception I am..

Why is ValueType.GetHashCode() implemented like it is?

http://stackoverflow.com/questions/3841602/why-is-valuetype-gethashcode-implemented-like-it-is

contract A good hash code implementation should be 1 Fast. Very fast Remember the whole point of the hash code in the first.. well distributed over the entire range of 32 bit integers Very low. Odds are much better that they are both small and close..

Comparison of XSD Code Generators

http://stackoverflow.com/questions/386155/comparison-of-xsd-code-generators

project maintained and great functionality LINQ to XSD Very cool project but not what i was looking for Addendum If you..

C# Telnet Library

http://stackoverflow.com/questions/390188/c-sharp-telnet-library

C# Telnet Lib I've found is called Minimalistic Telnet. Very easy to understand use and modify. It works great for the Cisco..

C# switch statement limitations - why?

http://stackoverflow.com/questions/44905/c-sharp-switch-statement-limitations-why

Dynamic Lang. Runtime vs Reflection

http://stackoverflow.com/questions/4646786/dynamic-lang-runtime-vs-reflection

but it will help. Affects application performance. Very slightly. But not even close to the way reflection does. Dynamic..

Multi-threaded splash screen in C#?

http://stackoverflow.com/questions/48916/multi-threaded-splash-screen-in-c

new SplashForm this.SplashScreen.TopMost true Very straightforward it shows your SplashForm which you need to create..

Use of Application.DoEvents()

http://stackoverflow.com/questions/5181777/use-of-application-doevents

didn't stop it is still executing the loop. That's bad. Very very bad. There's more the user could click the same menu item..

Very slow compile times on Visual Studio 2005

http://stackoverflow.com/questions/55517/very-slow-compile-times-on-visual-studio-2005

slow compile times on Visual Studio 2005 We are getting very..

Generic type conversion FROM string

http://stackoverflow.com/questions/8625/generic-type-conversion-from-string

which always returns the type specified in DataType Very many thanks answer accepted @Jon Limjap Thanks for the suggestion..

HTTPWebResponse + StreamReader Very Slow

http://stackoverflow.com/questions/901323/httpwebresponse-streamreader-very-slow

StreamReader Very Slow I'm trying to implement a limited web crawler in C# for..

What's the difference between dynamic(C# 4) and var?

http://stackoverflow.com/questions/961581/whats-the-difference-between-dynamicc-4-and-var

etc are resolved at runtime based on the actual object. Very handy for talking to COM which can have runtime only properties..

Passing an operator along with other parameters

http://stackoverflow.com/questions/1190062/passing-an-operator-along-with-other-parameters

an operator along with other parameters I have some VERY inefficient code in which many lines appear 4 times as I go..

C# - Delete files from directory if filename contains a certain word

http://stackoverflow.com/questions/1620366/c-sharp-delete-files-from-directory-if-filename-contains-a-certain-word

file will be deleted System.IO.File.Delete file BE VERY CAREFUL Note that I've commented out the delete command. Run..

Weak event handler model for use with lambdas

http://stackoverflow.com/questions/1747235/weak-event-handler-model-for-use-with-lambdas

framework or whatever it ends up being called . It is VERY interesting and slightly mindblowing. I suspect that it will..

WCF service returning an array of dictionary<string, object>

http://stackoverflow.com/questions/2160052/wcf-service-returning-an-array-of-dictionarystring-object

to you do not use object in service contract because it VERY error prone. Consider that later you or one of your colleagues..

Unit testing void methods?

http://stackoverflow.com/questions/246038/unit-testing-void-methods

a database. Nothing that hasn't been done before but being VERY new to TDD I am wondering if it is possible to test this or..

What is the best practice for “Copy Local” and with project references?

http://stackoverflow.com/questions/280751/what-is-the-best-practice-for-copy-local-and-with-project-references

closure under the 'References' relation this can become VERY costly. My workaround for this was to redefine the GetCopyToOutputDirectoryItems..

Visual Studio build fails: unable to copy exe-file from obj\debug to bin\debug

http://stackoverflow.com/questions/2895898/visual-studio-build-fails-unable-to-copy-exe-file-from-obj-debug-to-bin-debug

of them worked except the renaming and building which was VERY tedious to say the least. Eventually I tracked down the culprit..

Create a summary description of a schedule given a list of shifts

http://stackoverflow.com/questions/3165867/create-a-summary-description-of-a-schedule-given-a-list-of-shifts

impressive functionality of R for Cluster Analysis R is a VERY good option Finally here you can find a long list of free and..

“Could not find endpoint element with name…”

http://stackoverflow.com/questions/3188965/could-not-find-endpoint-element-with-name

to connect to it as a client via TCP and or HTTP. I have a VERY simple test client app that seems to connect fine but the more..

practical applications of bitwise operations [closed]

http://stackoverflow.com/questions/3883384/practical-applications-of-bitwise-operations

for why are they so handy can someone please recommend a VERY simple tutorial c# bitwise operators share improve this question..

Parsing JSON data with C#

http://stackoverflow.com/questions/4109807/parsing-json-data-with-c-sharp

data into a string. Oddly it puts all of the data into one VERY long line . But now I want to parse this and I am not sure how...

Best way to combine two or more byte arrays in C#

http://stackoverflow.com/questions/415291/best-way-to-combine-two-or-more-byte-arrays-in-c-sharp

using Linq's Concat 448.1804799 seconds The point is it is VERY important to understand the efficiency of both the creation..

Is C# a single dispatch or multiple dispatch language?

http://stackoverflow.com/questions/479923/is-c-sharp-a-single-dispatch-or-multiple-dispatch-language

said this but without a clear example this sounds VERY obvious given that C# is statically typed and multiple dispatch..

Running an asynchronous operation triggered by an ASP.NET web page request

http://stackoverflow.com/questions/672237/running-an-asynchronous-operation-triggered-by-an-asp-net-web-page-request

SomeVeryLongAction for int i 0 i 100 i simulation of some VERY long job System.Threading.Thread.Sleep 100 share improve this..

Compression/Decompression string with C#

http://stackoverflow.com/questions/7343465/compression-decompression-string-with-c-sharp

by using Convert.ToBase64String r1 the result of Zip is VERY binary It isn't something you can print to the screen or write..