¡@

Home 

c# Programming Glossary: basic

ASP.NET MVC Custom Error Handling Application_Error Global.asax?

http://stackoverflow.com/questions/1171035/asp-net-mvc-custom-error-handling-application-error-global-asax

Error Handling Application_Error Global.asax I have some basic code to determine errors in my MVC application. Currently in..

C# : Why doesn't 'ref' and 'out' support polymorphism?

http://stackoverflow.com/questions/1207144/c-sharp-why-doesnt-ref-and-out-support-polymorphism

is to break verifiable type safety. If these issues in basic type theory interest you consider reading my series on how covariance..

Code for decoding/encoding a modified base64 URL

http://stackoverflow.com/questions/1228701/code-for-decoding-encoding-a-modified-base64-url

Using .NET I want to modify my current code from doing basic base64 encoding and decoding to using the modified base64 for..

Are there any suggestions for developing a C# coding standards / best practices document? [closed]

http://stackoverflow.com/questions/14967/are-there-any-suggestions-for-developing-a-c-sharp-coding-standards-best-pract

as I'm the first 'adopter' in the department to create a basic read useful C# coding standards document. I think I should explain..

Big integers in C#

http://stackoverflow.com/questions/176775/big-integers-in-c-sharp

division algorithms implementation. It provides all the basic operations on integers like addition multiplication comparing..

Dependency Inject (DI) “friendly” library

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

to design the library so it is DI Agnostic Although adding basic support for one or two of the common DI libraries StructureMap..

Transactions in .net

http://stackoverflow.com/questions/224689/transactions-in-net

data into the DB. Any responses or links for even basic stuff about transactions are welcome. c# .net transactions..

How to create a simple proxy in C#?

http://stackoverflow.com/questions/226784/how-to-create-a-simple-proxy-in-c

. I might check the source but I really wanted something basic to understand more the concept. ASP Proxy I might be able to..

Can't get sql server compact 3.5 / 4 to work with ASP .NET MVC 2

http://stackoverflow.com/questions/3223359/cant-get-sql-server-compact-3-5-4-to-work-with-asp-net-mvc-2

I'm not sure why this is. Next I just try making a basic connection to my sdf file via SqlCeConnection conn new SqlCeConnection..

Benefits of using the conditional ?: (ternary) operator

http://stackoverflow.com/questions/3312786/benefits-of-using-the-conditional-ternary-operator

to C# was written by a mechanical engineer and breaks some basic programming tenets like unnecessary use of gotos . I was hoping.. operator share improve this question I would basically recommend using it only when the resulting statement is..

Why can't I define a default constructor for a struct in .NET?

http://stackoverflow.com/questions/333829/why-cant-i-define-a-default-constructor-for-a-struct-in-net

or when you have an uninitialized instance variable. The basic rule in C# is the default value for any type can't rely on any..

What Advantages of Extension Methods have you found? [closed]

http://stackoverflow.com/questions/487904/what-advantages-of-extension-methods-have-you-found

a lot when writing code if you add extension methods to basic types you'll get them quicky in the intellisense. I have a format..

Multi-threaded splash screen in C#?

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

API to populate some drop downs. I also want to do some basic testing for dependencies before loading that is the web service..

What is the purpose of self tracking entities?

http://stackoverflow.com/questions/5091974/what-is-the-purpose-of-self-tracking-entities

is what generating these entities gives you over the basic EF entities Also some people have mentioned self tracking entities..

Binding WPF ComboBox to a Custom List

http://stackoverflow.com/questions/561166/binding-wpf-combobox-to-a-custom-list

Using CollectionView directly is not fully supported. The basic features work although with some inefficiencies but advanced..

Difference between events and delegates and its respective applications

http://stackoverflow.com/questions/563549/difference-between-events-and-delegates-and-its-respective-applications

data objects notify when certain properties are met. Most basic example whenever a property changes a PropertyChanged event..

Tree data structure in C#

http://stackoverflow.com/questions/66893/tree-data-structure-in-c-sharp

with LinkedList what if I want a circular linked list The basic structure you'll need to implement will be a collection of nodes..

how can i get text formatting with iTextSharp

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

and simple text extraction system that handle some of the basic tokens. Unfortunately it doesn't handle color information but..

Anyone know a good workaround for the lack of an enum generic constraint?

http://stackoverflow.com/questions/7244/anyone-know-a-good-workaround-for-the-lack-of-an-enum-generic-constraint

on my blog post about enum constraints . I've included the basic facts below for the sake of a standalone answer. The best solution.. be the tricky part. I smell some helper methods coming on basically allowing me to treat any flags enum as if it had a base..

How can I make a .Net Winforms application that only runs in the System Tray?

http://stackoverflow.com/questions/995195/how-can-i-make-a-net-winforms-application-that-only-runs-in-the-system-tray

winforms system tray share improve this question The basic answer of using a NotifyIcon is correct but like many things.. mentioned by Brad gives a good walk through of the very basics but does not address any of these Does closing the application..

Event Signature in .NET — Using a Strong Typed 'Sender'?

http://stackoverflow.com/questions/1046016/event-signature-in-net-using-a-strong-typed-sender

some CLS compliance issues here. This does run in Visual Basic .NET 2008 100 fine I've tested but I believe that the older.. tested but I believe that the older versions of Visual Basic .NET through 2005 do not have delegate covariance and contravariance... myself developing for any language other than C# or Visual Basic .NET and I do not mind restricting it to C# and VB.NET for .NET..

How does the C# compiler detect COM types?

http://stackoverflow.com/questions/1093536/how-does-the-c-sharp-compiler-detect-com-types

supports COM component development e.g. Delphi C Visual Basic etc. See my answer to a similar question about the Microsoft..

A Simple C# DLL - how do I call it from Excel, Access, VBA, VB6?

http://stackoverflow.com/questions/1170794/a-simple-c-sharp-dll-how-do-i-call-it-from-excel-access-vba-vb6

call this HelloWorld function from Microsoft Office Visual Basic which I think is VB6 My first step was to add the DLL as a reference..

Authenticate and request a user's timeline with Twitter API 1.1 oAuth

http://stackoverflow.com/questions/17067996/authenticate-and-request-a-users-timeline-with-twitter-api-1-1-oauth

aScreenName Do the Authenticate var authHeaderFormat Basic 0 var authHeader string.Format authHeaderFormat Convert.ToBase64String..

Single-assembly multi-language Windows Forms deployment (ILMerge and satellite assemblies / localization) - possible?

http://stackoverflow.com/questions/1952638/single-assembly-multi-language-windows-forms-deployment-ilmerge-and-satellite-a

have not found any authoritative answer anywhere. UPDATE 1 Basic Solution Following casperOne's recommendation below I was finally..

c# Can I use reflection to inspect the code in a method?

http://stackoverflow.com/questions/2693881/c-sharp-can-i-use-reflection-to-inspect-the-code-in-a-method

a method c# reflection share improve this question Basic Answer You can't with the reflection API System.Reflection ...

C# - Basic question: What is '?'? [duplicate]

http://stackoverflow.com/questions/2699373/c-sharp-basic-question-what-is

Basic question What is ' ' duplicate This question already has an..

Proper way to implement IXmlSerializable?

http://stackoverflow.com/questions/279534/proper-way-to-implement-ixmlserializable

you should return a null reference Nothing in Visual Basic from this method and instead if specifying a custom schema is..

Drag and drop to Desktop / Explorer

http://stackoverflow.com/questions/3040415/drag-and-drop-to-desktop-explorer

my Desktop or some open explorer window and drop it there. Basic Drag and Drop nothing fancy. This sounds like a standard function..

Reading csv file

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

in .NET BCL. add a reference to the Microsoft.VisualBasic yes it says VisualBasic but it works in C# just as well remember.. a reference to the Microsoft.VisualBasic yes it says VisualBasic but it works in C# just as well remember that at the end it.. that at the end it is all just IL use the Microsoft.VisualBasic.FileIO.TextFieldParser class to parse CSV file Here is the sample..

Merging two images in C#/.NET

http://stackoverflow.com/questions/465172/merging-two-images-in-c-net

is transparent in the middle the other one is 150x150. Basic idea is this Create an empty canvas that is 500x500 position..

There is a Default instance of form in VB.Net but not in C#, WHY?

http://stackoverflow.com/questions/4698538/there-is-a-default-instance-of-form-in-vb-net-but-not-in-c-why

that the Form is an instance of and in the case of Visual Basic is used to access the default instance of the form. Now where..

Should we select VB.NET or C# when upgrading our legacy applications? [closed]

http://stackoverflow.com/questions/507291/should-we-select-vb-net-or-c-sharp-when-upgrading-our-legacy-applications

we have a number of legacy applications written in Visual Basic 6.0. Without casting aspersions on the developers who wrote.. no familiarity with C# and are more familiar with Visual Basic classic . In either case they'd have to learn .NET. Teaching.. you had the opportunity to make a clean break from Visual Basic 6.0 and move to .NET UPDATE I apologize if anyone thinks that..

Multithreading reference?

http://stackoverflow.com/questions/601558/multithreading-reference

Programming the Thread Pool in the .NET Framework Visual Basic .NET Tracing Logging and Threading Made Easy with .NET Juice..

What is the minimum client footprint required to connect C# to an Oracle database?

http://stackoverflow.com/questions/70602/what-is-the-minimum-client-footprint-required-to-connect-c-sharp-to-an-oracle-da

the framework. Download the Oracle Instant Client Package Basic Lite this is a zip file with almost the bare minimum. I recommend..

Replacing .NET WebBrowser control with a better browser, like Chrome?

http://stackoverflow.com/questions/790542/replacing-net-webbrowser-control-with-a-better-browser-like-chrome

and other web technologies on par with any modern browser Basic browser functions like navigate back reload ... Liberal access..

How to write a scalable Tcp/Ip based server

http://stackoverflow.com/questions/869744/how-to-write-a-scalable-tcp-ip-based-server

on the best way to make this as scalable as possible Basic workflow Thanks. EDIT To be clear i'm looking for .net based..