id
stringlengths
36
36
question_id
int64
4
9.09M
chunk_index
int32
0
30
embedding_text
stringlengths
41
8.67k
dense_tokens
int32
10
1.02k
sparse_tokens
int32
11
1.02k
languages
listlengths
1
5
tags
listlengths
1
5
payload_json
stringlengths
408
563
dense
list
sparse_indices
listlengths
8
467
sparse_values
listlengths
8
467
36305746-786c-59bc-9b32-6e942a5e5a38
6,623
2
Title: sgen.exe fails during build 8.1.dll" /reference:"C:\Program Files\Infragistics\NetAdvantage for .NET 2008 Vol. 1 CLR 2.0\Windows Forms\Bin\Infragistics2.Win.UltraWinToolbars.v8.1.dll" /reference:"C:\Program Files\Infragistics\NetAdvantage for .NET 2008 Vol. 1 CLR 2.0\Windows Forms\Bin\Infragistics2.Win.UltraWin...
669
844
[ "c#" ]
[ "c#", "visual-studio", "msbuild" ]
{"accepted_answer_id":27317,"answer_count":5,"chunk_count":3,"chunk_index":2,"closed_date":null,"creation_date":"2008-08-09T04:57:00.577000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2025-03-23T20:58:43.947000+00:00","last_edit_date":"2019-01-20T13:57:49.267000+00:00","...
[ -0.014739990234375, -0.01026153564453125, 0.0140380859375, -0.0202789306640625, 0.0180511474609375, -0.004302978515625, 0.007282257080078125, 0.037750244140625, 0.020751953125, 0.00672149658203125, -0.0026683807373046875, 0.00498199462890625, 0.0257110595703125, 0.0179290771484375, 0.041...
[ 5, 6, 7, 10, 11, 12, 13, 16, 18, 23, 34, 47, 53, 56, 58, 64, 70, 71, 73, 83, 91, 106, 110, 112, 169, 186, 214, 238, 248, 254, 282, 297, 313, 334, 382, 397, 425, 441, 454, 571, 581, 603, 617, 647, 678, 683, 757, 765, 867,...
[ 0.0908203125, 0.0107421875, 0.078125, 0.010986328125, 0.008544921875, 0.01220703125, 0.010498046875, 0.01025390625, 0.0126953125, 0.019287109375, 0.009521484375, 0.011474609375, 0.0107421875, 0.010986328125, 0.010986328125, 0.01123046875, 0.0107421875, 0.011962890625, 0.011230468...
389a3859-08c5-51db-81d4-0d417fbef92d
6,681
0
Title: ASP.NET Web Service Results, Proxy Classes and Type Conversion I'm still new to the ASP.NET world, so I could be way off base here, but so far this is to the best of my (limited) knowledge! Let's say I have a standard business object "Contact" in the Business namespace. I write a Web Service to retrieve a Con...
304
343
[ "c#" ]
[ "c#", "asp.net", "web-services" ]
{"accepted_answer_id":6704,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T07:34:01.523000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2019-01-20T13:57:31.373000+00:00","last_edit_date":"2019-01-20T13:57:31.373000+00:00","q...
[ -0.01174163818359375, 0.024322509765625, -0.0083465576171875, 0.00804901123046875, 0.005901336669921875, -0.0357666015625, 0.01812744140625, 0.0183563232421875, -0.01490020751953125, 0.01305389404296875, -0.02789306640625, 0.0005292892456054688, 0.00605010986328125, 0.01377105712890625, ...
[ 5, 6, 18, 38, 47, 53, 83, 87, 111, 126, 136, 187, 238, 501, 502, 724, 903, 959, 1239, 1250, 1467, 1544, 1657, 2060, 2203, 2646, 2965, 2967, 3004, 3525, 3647, 3688, 3789, 3917, 3994, 3996, 4002, 4420, 4516, 4527, 5570, 5701, 5773, ...
[ 0.028076171875, 0.003662109375, 0.09765625, 0.002197265625, 0.005126953125, 0.04248046875, 0.0242919921875, 0.007080078125, 0.009033203125, 0.0751953125, 0.002197265625, 0.058349609375, 0.053466796875, 0.1044921875, 0.134765625, 0.040283203125, 0.01611328125, 0.056396484375, 0.09...
0b2f7cb8-c032-5d8e-97ed-c8a6811fbcd3
6,785
0
Title: Is String.Format as efficient as StringBuilder Suppose I have a stringbuilder in C# that does this: StringBuilder sb = new StringBuilder(); string cat = "cat"; sb.Append("the ").Append(cat).(" in the hat"); string s = sb.ToString(); would that be as efficient or any more efficient as having: string cat = ...
179
215
[ "c#", "vb.net" ]
[ "c#", "vb.net", "performance", "stringbuilder", "string.format" ]
{"accepted_answer_id":6824,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T14:24:05.703000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#","vb.net"],"last_activity_date":"2020-12-13T15:34:02.840000+00:00","last_edit_date":"2019-01-20T13:57:05.123000...
[ 0.0182342529296875, -0.01580810546875, -0.008636474609375, -0.0012998580932617188, 0.01447296142578125, -0.023101806640625, -0.0206756591796875, 0.0218963623046875, 0.036468505859375, 0.041839599609375, -0.0300445556640625, 0.01739501953125, -0.00923919677734375, 0.006992340087890625, 0....
[ 5, 23, 33, 56, 70, 91, 158, 194, 214, 237, 257, 275, 313, 450, 707, 1256, 1286, 1632, 1653, 2071, 2203, 2347, 2389, 2806, 3444, 3611, 3934, 3957, 4460, 4904, 5983, 7515, 7763, 15400, 15700, 19441, 23351, 34735, 39179, 63773, 71713, 79...
[ 0.037109375, 0.1357421875, 0.07177734375, 0.14453125, 0.0220947265625, 0.171875, 0.02978515625, 0.0145263671875, 0.1376953125, 0.06005859375, 0.1123046875, 0.134765625, 0.01123046875, 0.002197265625, 0.004638671875, 0.16015625, 0.0859375, 0.00244140625, 0.0274658203125, 0.01428...
4551a3e6-2151-5fb0-8423-5af7aeb573f9
6,890
0
Title: How to wait for thread complete before continuing? I have some code for starting a thread on the .NET CF 2.0: ThreadStart tStart = new ThreadStart(MyMethod); Thread t = new Thread(tStart); t.Start(); If I call this inside a loop the items completely out of order. How do introduce a wait after t.Start(), so ...
108
119
[ "c#" ]
[ "c#", "multithreading", "compact-framework" ]
{"accepted_answer_id":7101,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T20:00:37.647000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2019-01-20T13:56:56.200000+00:00","last_edit_date":"2019-01-20T13:56:56.200000+00:00","q...
[ -0.023468017578125, 0.015106201171875, -0.0086517333984375, -0.01493072509765625, -0.00125885009765625, -0.029266357421875, -0.01824951171875, 0.0035552978515625, 0.0167083740234375, -0.01078033447265625, 0.00995635986328125, -0.000762939453125, 0.027496337890625, -0.0165863037109375, 0....
[ 7, 10, 13, 18, 47, 100, 111, 132, 214, 808, 903, 1810, 2203, 3525, 4153, 4488, 7103, 7352, 8108, 11249, 11522, 11782, 12989, 16655, 17777, 18151, 19686, 23009, 23253, 28484, 31852, 35829, 40485, 40956, 46132, 48962, 55769, 64557, 65508, 7...
[ 0.012451171875, 0.056640625, 0.0213623046875, 0.011474609375, 0.03564453125, 0.09521484375, 0.0341796875, 0.000732421875, 0.0380859375, 0.0869140625, 0.001220703125, 0.04541015625, 0.015380859375, 0.010498046875, 0.009765625, 0.0654296875, 0.0927734375, 0.1064453125, 0.0854492187...
eaec9a20-b0e5-5bac-ac86-c930221ee019
6,904
0
Title: Getting DirectoryNotFoundException when trying to Connect to Device with CoreCon API I'm trying to use the CoreCon API in Visual Studio 2008 to programmatically launch device emulators. When I call device.Connect(), I inexplicably get a DirectoryNotFoundException. I get it if I try it in PowerShell or in C# Con...
471
677
[ "c#" ]
[ "c#", "visual-studio", "windows-mobile", "compact-framework", "corecon" ]
{"accepted_answer_id":2401184,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T20:22:19.490000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2016-02-07T17:56:38.603000+00:00","last_edit_date":"2016-02-07T17:56:38.603000+00:00"...
[ -0.01078033447265625, -0.0242919921875, -0.003391265869140625, -0.033172607421875, 0.00275421142578125, 0.02227783203125, -0.00426483154296875, 0.021453857421875, 0.03814697265625, -0.0187225341796875, -0.01125335693359375, -0.0004665851593017578, 0.01332855224609375, 0.0017032623291015625...
[ 5, 23, 39, 47, 51, 53, 70, 99, 126, 294, 313, 352, 678, 831, 915, 1105, 1250, 1657, 2021, 2046, 2146, 2292, 2389, 2789, 3004, 3137, 4027, 4527, 4657, 4904, 5021, 5037, 5426, 6512, 6609, 7030, 7244, 7285, 7319, 7413, 9790, 11341, 117...
[ 0.005126953125, 0.004638671875, 0.053955078125, 0.007080078125, 0.042724609375, 0.1484375, 0.01220703125, 0.002685546875, 0.0262451171875, 0.011474609375, 0.023681640625, 0.1044921875, 0.011962890625, 0.001220703125, 0.013916015625, 0.033447265625, 0.0869140625, 0.0595703125, 0.2...
9cca8ddc-846c-5b16-acf2-addebff86ec0
6,973
0
Title: Invalid Resource File When attempting to compile my C# project, I get the following error: 'C:\Documents and Settings\Dan\Desktop\Rowdy Pixel\Apps\CleanerMenu\CleanerMenu\obj\Debug\CSC97.tmp' is not a valid Win32 resource file. Having gone through many Google searches, I have determined that this is usually...
297
353
[ "c#" ]
[ "c#", "visual-studio", "resources" ]
{"accepted_answer_id":6987,"answer_count":5,"chunk_count":2,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-10T00:50:16.283000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2020-08-15T22:43:49.733000+00:00","last_edit_date":"2014-08-02T13:45:43.490000+00:00","q...
[ 0.0241546630859375, -0.0080108642578125, 0.0097198486328125, 0.01531219482421875, 0.007068634033203125, 0.0296783447265625, 0.0197906494140625, 0.02203369140625, 0.014190673828125, -0.002532958984375, -0.0369873046875, 0.0011262893676757812, 0.00836181640625, -0.0105438232421875, 0.02026...
[ 5, 10, 12, 18, 34, 56, 71, 83, 110, 170, 262, 313, 360, 425, 434, 441, 759, 822, 959, 1042, 1257, 1340, 1459, 1515, 1632, 1815, 2046, 2676, 3454, 3522, 4657, 4904, 6000, 6460, 7013, 7568, 9969, 10941, 11389, 11435, 11814, 12724, 134...
[ 0.0152587890625, 0.058837890625, 0.043701171875, 0.06982421875, 0.0810546875, 0.0196533203125, 0.10205078125, 0.055908203125, 0.03515625, 0.2021484375, 0.07763671875, 0.050048828125, 0.07177734375, 0.09716796875, 0.07373046875, 0.06591796875, 0.021484375, 0.109375, 0.1318359375, ...
86bf4412-5777-5251-bf3d-d37fc72d8263
6,973
1
Title: Invalid Resource File C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /main:CleanerMenu.Program /reference:"C:\Documents and Settings\Dan\Desktop\Rowdy Pixel\Apps\CleanerMenu\Infralution.Licensing\bin\Debug\Infralution.Licensing.d...
691
972
[ "c#" ]
[ "c#", "visual-studio", "resources" ]
{"accepted_answer_id":6987,"answer_count":5,"chunk_count":2,"chunk_index":1,"closed_date":null,"creation_date":"2008-08-10T00:50:16.283000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2020-08-15T22:43:49.733000+00:00","last_edit_date":"2014-08-02T13:45:43.490000+00:00","q...
[ 0.0134735107421875, 0.0017070770263671875, 0.01111602783203125, 0.0135955810546875, -0.0036792755126953125, 0.0262451171875, 0.0070343017578125, 0.02056884765625, 0.0154876708984375, -0.00093841552734375, -0.027191162109375, 0.0060577392578125, 0.0294342041015625, -0.0164337158203125, 0....
[ 4, 5, 6, 7, 9, 10, 12, 14, 18, 19, 34, 39, 47, 53, 56, 58, 70, 71, 83, 100, 106, 107, 112, 136, 157, 159, 163, 170, 188, 214, 219, 248, 262, 282, 284, 289, 297, 304, 313, 334, 350, 360, 397, 418, 425, 434, 441, 442, 450,...
[ 0.0198974609375, 0.021240234375, 0.0205078125, 0.020751953125, 0.0198974609375, 0.0201416015625, 0.0211181640625, 0.0198974609375, 0.0191650390625, 0.020263671875, 0.08984375, 0.020263671875, 0.015869140625, 0.01953125, 0.04052734375, 0.0196533203125, 0.0206298828125, 0.1025390625,...
f64acd74-ac3b-5c6d-be5c-1aa285e8f204
7,015
0
Title: Multicore Text File Parsing I have a quad core machine and would like to write some code to parse a text file that takes advantage of all four cores. The text file basically contains one record per line. Multithreading isn't my forte so I'm wondering if anyone could give me some patterns that I might be able ...
219
238
[ "c#" ]
[ "c#", "multithreading" ]
{"accepted_answer_id":7020,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-10T03:07:39.157000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2019-01-20T13:56:31.593000+00:00","last_edit_date":"2019-01-20T13:56:31.593000+00:00","q...
[ 0.00626373291015625, 0.0089263916015625, -0.01282501220703125, -0.0330810546875, 0.004314422607421875, -0.0005578994750976562, -0.0004801750183105469, -0.017730712890625, 0.0228118896484375, -0.025177001953125, -0.0330810546875, 0.01039886474609375, 0.0209197998046875, -0.00641250610351562...
[ 18, 23, 41, 42, 47, 86, 111, 117, 184, 311, 366, 756, 759, 765, 959, 1221, 1632, 1884, 2392, 3095, 3934, 4271, 4527, 5117, 5773, 6528, 6953, 7986, 8781, 9077, 9433, 11435, 11737, 11966, 12096, 12301, 13315, 13388, 17164, 18151, 19335, ...
[ 0.03564453125, 0.002197265625, 0.048828125, 0.00439453125, 0.013427734375, 0.0177001953125, 0.0146484375, 0.0556640625, 0.1474609375, 0.0322265625, 0.181640625, 0.051513671875, 0.001220703125, 0.04052734375, 0.008056640625, 0.012939453125, 0.08203125, 0.057373046875, 0.169921875,...
5de5a937-a021-5c5c-bf04-aa6663909018
7,074
0
Title: What is the difference between String and string in C#? What are the differences between these two, and which one should I use? string s = "Hello world!"; String s = "Hello world!";
46
52
[ ".net", "c#" ]
[ "c#", ".net", "string", "types", "alias" ]
{"accepted_answer_id":7077,"answer_count":67,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-10T07:18:02.320000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2024-11-15T13:18:16.323000+00:00","last_edit_date":"2024-11-15T13:18:16.323000+0...
[ 0.0021953582763671875, -0.0032405853271484375, -0.0190887451171875, 0.021331787109375, 0.02899169921875, -0.019439697265625, -0.03369140625, 0.01461029052734375, 0.0006775856018066406, -0.002254486083984375, -0.046417236328125, -0.00954437255859375, -0.00818634033203125, -0.009429931640625...
[ 7, 23, 32, 44, 70, 74, 83, 91, 136, 214, 313, 841, 1632, 2203, 3890, 4527, 4865, 4904, 5608, 6097, 6626, 8999, 13817, 17721, 23351, 48962, 60212, 79315 ]
[ 0.12109375, 0.057861328125, 0.0244140625, 0.004638671875, 0.0927734375, 0.125, 0.005126953125, 0.220703125, 0.146484375, 0.232421875, 0.08447265625, 0.1220703125, 0.02490234375, 0.1435546875, 0.12109375, 0.140625, 0.03369140625, 0.2158203125, 0.064453125, 0.04638671875, 0.115...
44be6a94-878d-5495-9aea-5b952cc345bb
7,095
0
Title: Is the C# static constructor thread safe? In other words, is this Singleton implementation thread safe: public class Singleton { private static Singleton instance; private Singleton() { } static Singleton() { instance = new Singleton(); } public static Singleton Instance ...
74
77
[ "c#" ]
[ "c#", "multithreading", "singleton" ]
{"accepted_answer_id":7105,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-10T08:23:55.573000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2022-05-20T17:24:06.827000+00:00","last_edit_date":null,"question_id":7095,"score":269,...
[ 0.020721435546875, 0.037078857421875, 0.002437591552734375, 0.0102996826171875, 0.0307769775390625, 0.0137481689453125, -0.0255584716796875, 0.01508331298828125, -0.00421142578125, 0.0098724365234375, -0.0496826171875, -0.0219268798828125, -0.0058135986328125, 0.003936767578125, 0.037322...
[ 6, 83, 313, 748, 903, 1507, 2046, 2071, 3525, 3835, 4904, 14375, 18507, 30646, 43609, 46002, 48962, 51912, 64549, 86997, 110527, 116071, 201939, 208124 ]
[ 0.004150390625, 0.051025390625, 0.01025390625, 0.0849609375, 0.030517578125, 0.2177734375, 0.04443359375, 0.0703125, 0.03125, 0.09375, 0.1630859375, 0.1025390625, 0.14453125, 0.07373046875, 0.228515625, 0.212890625, 0.0277099609375, 0.02099609375, 0.1533203125, 0.212890625, 0...
f4f63fcb-b098-5397-85d1-c79abea38fea
7,244
0
Title: Anyone know a good workaround for the lack of an enum generic constraint? What I want to do is something like this: I have enums with combined flagged values. public static class EnumExtension { public static bool IsSet<T>( this T input, T matchTo ) where T:enum //the constraint I want that doesn...
190
222
[ ".net", "c#" ]
[ "c#", ".net", "enums", "flags" ]
{"accepted_answer_id":1409873,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-10T17:14:10.260000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2019-01-20T13:55:37.633000+00:00","last_edit_date":"2019-01-20T13:55:37.63300...
[ 0.00920867919921875, -0.0050506591796875, -0.0017595291137695312, 0.01568603515625, 0.0237579345703125, 0.0061798095703125, -0.0182952880859375, 0.01366424560546875, 0.0228118896484375, 0.003208160400390625, -0.0216217041015625, 0.0214996337890625, 0.00359344482421875, -0.00801849365234375...
[ 11, 18, 22, 33, 110, 111, 126, 158, 237, 284, 294, 297, 313, 316, 357, 363, 384, 571, 618, 647, 757, 831, 903, 1884, 1957, 2071, 2606, 2646, 2816, 3444, 3630, 3668, 3714, 3835, 4127, 4288, 4488, 4904, 7077, 7763, 10321, 14858, 15190...
[ 0.0703125, 0.0556640625, 0.16015625, 0.1103515625, 0.0732421875, 0.045654296875, 0.1474609375, 0.09814453125, 0.038818359375, 0.06787109375, 0.1015625, 0.027099609375, 0.010498046875, 0.2421875, 0.162109375, 0.12109375, 0.061279296875, 0.05029296875, 0.03369140625, 0.1142578125...
7aea1db3-4fe1-5e9e-b57b-9719afb6d137
7,367
0
Title: Visual Studio - new "default" property values for inherited controls I'm looking for help setting a new default property value for an inherited control in Visual Studio: class NewCombo : System.Windows.Forms.ComboBox { public NewCombo() { DropDownItems = 50; } } The problem is that the base class property...
279
311
[ ".net", "c#", "vb.net" ]
[ "c#", ".net", "vb.net", "visual-studio" ]
{"accepted_answer_id":7399,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-10T22:06:49.670000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#","vb.net"],"last_activity_date":"2019-01-20T13:55:20.363000+00:00","last_edit_date":"2019-01-20T13:55:20....
[ 0.01255035400390625, 0.02947998046875, 0.004974365234375, -0.0074005126953125, 0.02166748046875, -0.0014801025390625, -0.006336212158203125, 0.054931640625, 0.020477294921875, 0.0123138427734375, -0.0280609130859375, 0.0279388427734375, 0.00689697265625, -0.0064239501953125, 0.0222625732...
[ 10, 23, 47, 100, 111, 568, 748, 759, 836, 837, 1614, 2203, 2356, 2678, 2967, 2982, 3173, 3444, 3525, 3647, 3674, 3835, 3917, 4358, 4488, 5423, 6226, 7086, 7710, 7941, 8331, 8337, 10002, 10770, 11435, 12353, 12921, 13315, 15549, 16487, 1...
[ 0.03564453125, 0.103515625, 0.03662109375, 0.0257568359375, 0.005615234375, 0.023193359375, 0.038330078125, 0.123046875, 0.18359375, 0.1845703125, 0.1240234375, 0.0341796875, 0.1337890625, 0.1884765625, 0.125, 0.169921875, 0.173828125, 0.02978515625, 0.1357421875, 0.1904296875,...
17880ff4-cb6b-58e5-8e97-bbba5dcc700b
7,503
0
Title: Linq to objects - select first object I know almost nothing about linq. I'm doing this: var apps = from app in Process.GetProcesses() where app.ProcessName.Contains( "MyAppName" ) && app.MainWindowHandle != IntPtr.Zero select app; Which gets me all the running processes which match that criteria. ...
274
353
[ "c#" ]
[ "c#", "linq", "linq-to-objects" ]
{"accepted_answer_id":7512,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T03:54:43.947000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2016-02-07T18:06:50.830000+00:00","last_edit_date":"2008-08-11T04:07:29.787000+00:00","q...
[ 0.01299285888671875, -0.00499725341796875, -0.00988006591796875, -0.006137847900390625, 0.0008606910705566406, -0.01299285888671875, 0.0119171142578125, 0.0038166046142578125, 0.03521728515625, -0.01239013671875, -0.04022216796875, 0.0132904052734375, -0.00820159912109375, 0.00751495361328...
[ 7, 13, 18, 47, 51, 75, 96, 126, 214, 285, 297, 339, 360, 434, 683, 724, 756, 944, 1294, 1295, 1511, 1632, 2046, 3642, 3714, 3917, 4027, 4036, 4448, 5117, 6494, 7413, 9433, 10752, 11522, 11782, 14858, 18537, 19943, 24293, 25500, 25647,...
[ 0.05078125, 0.027099609375, 0.013427734375, 0.1904296875, 0.107421875, 0.022216796875, 0.134765625, 0.0673828125, 0.109375, 0.1982421875, 0.076171875, 0.162109375, 0.007568359375, 0.06884765625, 0.000732421875, 0.009033203125, 0.031494140625, 0.10546875, 0.0654296875, 0.0795898...
1ea401cd-0d71-5603-83ce-0421fefb6d84
7,586
0
Title: How do I generate WPF controls through code I was trying to get my head around XAML and thought that I would try writing some code. Trying to add a grid with 6 by 6 column definitions then add a text block into one of the grid cells. I don't seem to be able to reference the cell that I want. There is no meth...
392
464
[ ".net", "c#" ]
[ "c#", ".net", "wpf", "xaml" ]
{"accepted_answer_id":7590,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T07:26:46.903000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2019-01-20T13:54:45.643000+00:00","last_edit_date":"2019-01-20T13:54:45.643000+00...
[ -0.0166473388671875, 0.0063018798828125, -0.010162353515625, 0.0050506591796875, 0.032806396484375, -0.0361328125, 0.005260467529296875, 0.00760650634765625, 0.01580810546875, -0.004726409912109375, -0.01403045654296875, -0.004486083984375, 0.01004791259765625, -0.004459381103515625, 0.0...
[ 7, 28, 71, 110, 275, 277, 305, 316, 390, 420, 425, 601, 706, 757, 841, 982, 1022, 1250, 1456, 1809, 2292, 3365, 3444, 3525, 3798, 4028, 4216, 4288, 4904, 6226, 6609, 6661, 7237, 7612, 7614, 7986, 8305, 9405, 9494, 9790, 10336, 11249, ...
[ 0.039306640625, 0.056396484375, 0.037353515625, 0.0162353515625, 0.00390625, 0.0267333984375, 0.10498046875, 0.1220703125, 0.05517578125, 0.011962890625, 0.045654296875, 0.095703125, 0.04052734375, 0.03857421875, 0.025390625, 0.050048828125, 0.04296875, 0.034912109375, 0.07226562...
fe6f5609-c2f0-5b02-a8de-52b22b4a184b
7,719
0
Title: Capture MouseDown event for .NET TextBox Is there any way to capture the MouseDown even from the .NET 2.0 TextBox control? I know the inherited Control class has the event, but it's not exposed in TextBox. Is there a way to override the event handler? I also tried the OpenNETCF TextBox2 control which does hav...
471
530
[ ".net", "c#" ]
[ "c#", ".net", "events", "windows-mobile" ]
{"accepted_answer_id":7840,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T12:36:20.350000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2019-01-20T13:54:23.570000+00:00","last_edit_date":"2019-01-20T13:54:23.570000+00...
[ 0.00693511962890625, -0.0229034423828125, -0.01328277587890625, -0.0318603515625, 0.0125732421875, -0.0008115768432617188, -0.03375244140625, 0.0185394287109375, -0.0182952880859375, 0.0037631988525390625, -0.0076141357421875, 0.0306854248046875, 0.02337646484375, -0.022430419921875, 0.0...
[ 4, 5, 6, 7, 10, 15, 16, 18, 19, 23, 24, 25, 44, 47, 54, 58, 62, 70, 71, 83, 87, 98, 100, 110, 111, 112, 132, 136, 142, 186, 221, 237, 294, 297, 304, 416, 442, 450, 454, 509, 538, 555, 594, 603, 621, 645, 707, 765, 830, ...
[ 0.00244140625, 0.038818359375, 0.000244140625, 0.002197265625, 0.001708984375, 0.002197265625, 0.00146484375, 0.024169921875, 0.001220703125, 0.03515625, 0.037841796875, 0.001220703125, 0.0009765625, 0.012939453125, 0.001708984375, 0.001953125, 0.00244140625, 0.04443359375, 0.002...
66cf63f7-a724-5a92-aaf9-1c7e54804dfb
7,990
0
Title: Printing from a .NET Service I am working on a project right now that involves receiving a message from another application, formatting the contents of that message, and sending it to a printer. The technology of choice is C# windows service. The output could be called a report, I suppose, but a reporting engin...
317
337
[ ".net", "c#" ]
[ "c#", ".net", "windows-services", "printing" ]
{"accepted_answer_id":8112,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":"2012-08-17T20:13:41.630000+00:00","creation_date":"2008-08-11T17:37:27.310000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2019-01-20T13:54:09.023000+00:00","last_edit_date":...
[ -0.005336761474609375, -0.0300140380859375, 0.0201568603515625, 0.002593994140625, -0.004062652587890625, -0.029052734375, -0.0194549560546875, 0.051483154296875, -0.00020110607147216797, 0.020050048828125, -0.00601959228515625, 0.0129852294921875, 0.0084228515625, 0.00972747802734375, 0...
[ 5, 8, 51, 138, 214, 313, 678, 903, 959, 1221, 1295, 1916, 2053, 2448, 2967, 3509, 3773, 3917, 4000, 4092, 4358, 4488, 4516, 4527, 4904, 5036, 5809, 5885, 6494, 6957, 7244, 8562, 8781, 9384, 10336, 10941, 11389, 12349, 13312, 13416, 1345...
[ 0.05810546875, 0.078125, 0.033203125, 0.0078125, 0.0927734375, 0.01220703125, 0.000732421875, 0.00634765625, 0.019775390625, 0.031494140625, 0.1513671875, 0.0771484375, 0.0556640625, 0.181640625, 0.119140625, 0.00048828125, 0.138671875, 0.0302734375, 0.083984375, 0.07177734375,...
ac54eefc-6a96-5ae9-b73c-ceeb907b6f85
7,991
0
Title: Center text output from Graphics.DrawString() I'm using the .NETCF (Windows Mobile) Graphics class and the DrawString() method to render a single character to the screen. The problem is that I can't seem to get it centred properly. No matter what I set for the Y coordinate of the location of the string render...
309
383
[ "c#" ]
[ "c#", "graphics", "compact-framework" ]
{"accepted_answer_id":8097,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T17:37:57.107000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2019-01-20T13:53:54.437000+00:00","last_edit_date":"2019-01-20T13:53:54.437000+00:00","q...
[ 0.006122589111328125, -0.008087158203125, 0.01152801513671875, -0.01509857177734375, 0.00015878677368164062, -0.01373291015625, -0.0140838623046875, -0.0027484893798828125, 0.016998291015625, 0.0040130615234375, 0.02069091796875, 0.014862060546875, -0.0031795501708984375, -0.03781127929687...
[ 7, 23, 47, 71, 132, 133, 201, 214, 249, 352, 425, 427, 434, 442, 449, 678, 706, 831, 903, 919, 990, 1257, 1284, 1295, 1459, 1484, 2046, 2684, 2789, 2967, 3444, 3509, 4068, 5423, 5646, 5773, 6226, 7922, 7934, 7986, 8194, 11001, 11343...
[ 0.06982421875, 0.0167236328125, 0.03662109375, 0.1435546875, 0.08203125, 0.0400390625, 0.0673828125, 0.1435546875, 0.072265625, 0.046875, 0.10546875, 0.1376953125, 0.041259765625, 0.03369140625, 0.0947265625, 0.005859375, 0.095703125, 0.03271484375, 0.0225830078125, 0.036376953...
2cd87eb8-ac88-569c-a6dd-22e8ed25151b
8,042
0
Title: Extension interface patterns The new extensions in .Net 3.5 allow functionality to be split out from interfaces. For instance in .Net 2.0 public interface IHaveChildren { string ParentType { get; } int ParentId { get; } List<IChild> GetChildren() } Can (in 3.5) become: public interface IHav...
435
477
[ ".net", "c#" ]
[ "c#", ".net-3.5", "extension-methods" ]
{"accepted_answer_id":38494,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T18:13:44.197000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2019-01-20T13:53:40.600000+00:00","last_edit_date":"2019-01-20T13:53:40.600000+...
[ 0.0185699462890625, 0.011077880859375, 0.01482391357421875, 0.00402069091796875, 0.0294189453125, 0.01184844970703125, 0.00756072998046875, 0.018096923828125, 0.03143310546875, -0.0127410888671875, -0.0263214111328125, 0.0289306640625, -0.001979827880859375, 0.00759124755859375, 0.001793...
[ 4, 5, 6, 7, 9, 10, 13, 16, 18, 25, 47, 56, 70, 71, 73, 74, 83, 87, 90, 111, 112, 132, 136, 142, 186, 214, 272, 280, 320, 339, 390, 420, 441, 517, 538, 568, 581, 678, 831, 903, 959, 982, 1257, 1274, 1286, 1294, 1295, 1388, ...
[ 0.000732421875, 0.05126953125, 0.00048828125, 0.0224609375, 0.0009765625, 0.0009765625, 0.001220703125, 0.0009765625, 0.03662109375, 0.000732421875, 0.0009765625, 0.00048828125, 0.001220703125, 0.08203125, 0.001953125, 0.0009765625, 0.009521484375, 0.1083984375, 0.001220703125, ...
99fa9f97-0cc4-5981-905f-836345af8a24
8,223
0
Title: Connection Pooling in .NET/SQL Server? Is it necessary or advantageous to write custom connection pooling code when developing applications in .NET with an SQL Server database? I know that ADO.NET gives you the option to enable/disable connection pooling -- does that mean that it's built into the framework and ...
98
113
[ ".net", "c#" ]
[ "c#", ".net", "sql-server", "connection-pooling" ]
{"accepted_answer_id":8232,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T21:10:32.903000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2009-08-01T04:52:12.200000+00:00","last_edit_date":"2009-08-01T04:52:12.200000+00...
[ 0.008056640625, -0.006343841552734375, -0.01526641845703125, -0.00872039794921875, 0.01148223876953125, -0.001983642578125, -0.00787353515625, 0.026336669921875, 0.033905029296875, 0.0169525146484375, -0.046875, 0.01340484619140625, -0.0069427490234375, 0.02752685546875, 0.02212524414062...
[ 5, 22, 23, 214, 678, 1830, 2886, 3714, 3827, 3934, 10002, 10821, 10975, 12921, 17777, 18151, 19361, 22120, 22687, 29459, 32562, 33022, 35829, 41388, 48962, 56718, 62448, 63399, 63559, 80866, 86685, 88303, 90908, 92940, 94878, 114122, 158897, ...
[ 0.012939453125, 0.0174560546875, 0.046142578125, 0.130859375, 0.047119140625, 0.040283203125, 0.1171875, 0.00927734375, 0.05859375, 0.07421875, 0.08935546875, 0.05810546875, 0.10205078125, 0.0498046875, 0.1826171875, 0.130859375, 0.1767578125, 0.02294921875, 0.09619140625, 0.02...
cb2247f3-2061-5dc9-a430-6a892e8f8b59
8,348
0
Title: Using unhandled exceptions instead of Contains()? Imagine an object you are working with has a collection of other objects associated with it, for example, the Controls collection on a WinForm. You want to check for a certain object in the collection, but the collection doesn't have a Contains() method. There a...
220
230
[ ".net", "c#" ]
[ "c#", ".net", "error-handling" ]
{"accepted_answer_id":8366,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T23:49:32.503000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2019-01-20T13:52:23.783000+00:00","last_edit_date":"2019-01-20T13:52:23.783000+00...
[ -0.01151275634765625, -0.0021343231201171875, 0.0034923553466796875, 0.013092041015625, -0.00464630126953125, -0.00745391845703125, 0.0030975341796875, 0.0257110595703125, 0.01531219482421875, -0.00888824462890625, -0.0251312255859375, 0.018707275390625, 0.0006866455078125, 0.0062828063964...
[ 7, 10, 18, 28, 51, 100, 132, 133, 345, 678, 759, 765, 903, 1176, 1957, 3789, 5425, 8305, 9790, 10002, 10763, 12765, 16487, 16916, 17203, 17686, 17932, 18151, 19279, 20697, 22027, 23718, 24233, 27131, 32168, 32316, 34749, 35829, 36746, 409...
[ 0.0322265625, 0.047607421875, 0.052734375, 0.130859375, 0.059326171875, 0.07666015625, 0.12109375, 0.12890625, 0.0673828125, 0.05712890625, 0.035400390625, 0.0255126953125, 0.029296875, 0.0234375, 0.00537109375, 0.014404296875, 0.224609375, 0.091796875, 0.197265625, 0.052490234...
8c69f12e-a7aa-5f66-95de-b5bb3753798d
8,447
0
Title: What does the [Flags] Enum Attribute mean in C#? From time to time I see an enum like the following: [Flags] public enum Options { None = 0, Option1 = 1, Option2 = 2, Option3 = 4, Option4 = 8 } I don't understand what exactly the [Flags] attribute does. Anyone have a good explanati...
100
98
[ "c#" ]
[ "c#", "enums", "flags" ]
{"accepted_answer_id":8480,"answer_count":15,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T04:09:16.083000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2024-07-30T11:41:43.103000+00:00","last_edit_date":"2020-04-06T09:18:20.707000+00:00","...
[ 0.012359619140625, 0.00597381591796875, 0.0027637481689453125, 0.0032978057861328125, -0.003238677978515625, -0.0107574462890625, -0.03564453125, -0.00826263427734375, 0.00885772705078125, -0.0012331008911132812, -0.0209197998046875, 0.0096282958984375, 0.00986480712890625, -0.010574340820...
[ 7, 13, 22, 23, 70, 86, 106, 116, 201, 268, 304, 313, 316, 357, 363, 378, 382, 418, 438, 617, 757, 919, 1733, 1884, 1913, 1957, 2203, 2367, 3668, 3835, 4865, 4904, 14602, 25632, 27781, 28219, 29459, 48962, 66161, 86769, 150380, 152448,...
[ 0.1728515625, 0.09521484375, 0.1484375, 0.04443359375, 0.028076171875, 0.01318359375, 0.046142578125, 0.051513671875, 0.1240234375, 0.068359375, 0.0634765625, 0.04931640625, 0.2236328125, 0.1484375, 0.09716796875, 0.0478515625, 0.142578125, 0.05029296875, 0.057861328125, 0.1484...
7e30659e-ac61-51d2-b98a-7eeef6498a21
8,546
0
Title: Is there a "try to lock, skip if timed out" operation in C#? I need to try to lock on an object, and if its already locked just continue (after time out, or without it). The C# lock statement is blocking.
57
60
[ "c#" ]
[ "c#", "multithreading", "locking" ]
{"accepted_answer_id":8553,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T06:19:38.550000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2022-04-11T14:20:39.787000+00:00","last_edit_date":"2014-09-07T19:51:41.833000+00:00","q...
[ 0.0196075439453125, 0.0024662017822265625, 0.01568603515625, 0.01503753662109375, 0.0308990478515625, -0.0174713134765625, -0.01325225830078125, 0.02972412109375, 0.028045654296875, -0.005645751953125, -0.0187835693359375, -0.028533935546875, 0.0209197998046875, -0.03662109375, 0.0346984...
[ 4, 5, 23, 47, 71, 98, 214, 297, 313, 1660, 1733, 1810, 2071, 2174, 2685, 3871, 4904, 6863, 9790, 15123, 15490, 21342, 21658, 21771, 36746, 41018, 46327, 46389, 48962, 56776, 63805 ]
[ 0.024658203125, 0.001953125, 0.03369140625, 0.033203125, 0.0654296875, 0.07958984375, 0.027587890625, 0.06787109375, 0.052001953125, 0.0228271484375, 0.18359375, 0.16796875, 0.035888671875, 0.1220703125, 0.038330078125, 0.06982421875, 0.212890625, 0.006103515625, 0.1376953125, ...
25773eca-7ef0-5432-926c-c197b675a084
8,566
0
Title: Best way to access a control on another form in Windows Forms? First off, this is a question about a desktop application using Windows Forms, not an ASP.NET question. I need to interact with controls on other forms. I am trying to access the controls by using, for example, the following... otherForm.Control...
369
402
[ "c#" ]
[ "c#", "winforms", "controls" ]
{"accepted_answer_id":null,"answer_count":17,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T07:32:32.540000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["c#"],"last_activity_date":"2018-12-13T21:59:03.327000+00:00","last_edit_date":"2017-05-23T12:26:24.527000+00:00",...
[ 0.005306243896484375, 0.0236053466796875, -0.0081634521484375, -0.005603790283203125, -0.0157318115234375, -0.018829345703125, 0.0095367431640625, 0.0010728836059570312, 0.001125335693359375, 0.01371002197265625, -0.034332275390625, -0.003173828125, 0.0125732421875, -0.0032787322998046875,...
[ 7, 18, 98, 372, 678, 1295, 1614, 1661, 2856, 2965, 3055, 3173, 3773, 3789, 3835, 3871, 3917, 4488, 4904, 5037, 5117, 5915, 5977, 6226, 6609, 6782, 10644, 10778, 11341, 11345, 11627, 12321, 14375, 15236, 15700, 16138, 17203, 17777, 22120, ...
[ 0.04345703125, 0.0233154296875, 0.0634765625, 0.015380859375, 0.0654296875, 0.033203125, 0.1044921875, 0.00146484375, 0.0302734375, 0.07177734375, 0.064453125, 0.2001953125, 0.11328125, 0.1025390625, 0.1484375, 0.00390625, 0.046142578125, 0.0634765625, 0.12890625, 0.1611328125,...
31767e45-78f2-5e6f-a4d1-fd1f28951670
8,604
0
Title: HTML Editor in a Windows Forms Application We are looking for a WYSIWYG editor control for our windows application (vb.net or c#) so that users can design HTML emails (to send using the SMTP objects in the dot net framework) before sending. Currently all the available editors we can find have one of the follo...
192
204
[ ".net", "c#", "vb.net" ]
[ "c#", ".net", "vb.net", "winforms", "controls" ]
{"accepted_answer_id":null,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":"2019-12-02T10:22:43.580000+00:00","creation_date":"2008-08-12T08:20:15.173000+00:00","has_accepted_answer":false,"is_closed":true,"languages":[".net","c#","vb.net"],"last_activity_date":"2019-12-01T06:28:32.967000+00:00","last_ed...
[ 0.0148773193359375, -0.01119232177734375, -0.002410888671875, 0.020233154296875, 0.00946044921875, -0.02154541015625, 0.020477294921875, 0.049530029296875, -0.004581451416015625, 0.0013685226440429688, -0.0151214599609375, 0.0163116455078125, 0.01702880859375, 0.017730712890625, 0.007797...
[ 23, 51, 71, 98, 100, 107, 150, 275, 334, 456, 538, 678, 724, 756, 1179, 1181, 1379, 1467, 1810, 2043, 2256, 3173, 3340, 3576, 3687, 3773, 3917, 4331, 4488, 4527, 4734, 4904, 5941, 6002, 6226, 7693, 8108, 9077, 9902, 10336, 12937, 1523...
[ 0.0927734375, 0.03466796875, 0.014892578125, 0.004150390625, 0.0126953125, 0.01220703125, 0.1005859375, 0.052734375, 0.1025390625, 0.0458984375, 0.142578125, 0.0859375, 0.068359375, 0.007080078125, 0.1025390625, 0.142578125, 0.00244140625, 0.004638671875, 0.029541015625, 0.0554...
01b4e961-c3d3-5c8d-bb3d-fda2ac51b3fd
8,625
0
Title: Generic type conversion FROM string I have a class that I want to use to store "properties" for another class. These properties simply have a name and a value. Ideally, what I would like is to be able to add typed properties, so that the "value" returned is always of the type that I want it to be. The type sh...
234
252
[ "c#" ]
[ "c#", "generics", "primitive", "type-safety" ]
{"accepted_answer_id":8633,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T09:13:23.520000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2024-09-06T08:26:13.537000+00:00","last_edit_date":"2014-09-07T19:16:56.473000+00:00","...
[ -0.0128173828125, 0.0282440185546875, 0.00634765625, 0.003307342529296875, 0.017913818359375, -0.035125732421875, -0.0269317626953125, 0.05078125, 0.0069122314453125, 0.00884246826171875, -0.04461669921875, 0.0031585693359375, -0.01251983642578125, -0.0238494873046875, 0.0088958740234375...
[ 10, 13, 47, 56, 71, 100, 136, 186, 214, 237, 563, 765, 856, 939, 1264, 1294, 1295, 1614, 1771, 1884, 2071, 2449, 2685, 2806, 2886, 3444, 3647, 3688, 3835, 3917, 4343, 4420, 4527, 5423, 5608, 6397, 6496, 6528, 7763, 9351, 9655, 10644, ...
[ 0.0751953125, 0.146484375, 0.115234375, 0.123046875, 0.0693359375, 0.013427734375, 0.07470703125, 0.016845703125, 0.0712890625, 0.03662109375, 0.03564453125, 0.003173828125, 0.091796875, 0.04150390625, 0.1298828125, 0.012939453125, 0.1259765625, 0.1044921875, 0.1298828125, 0.06...
c24686d6-e42c-510d-bc37-70047b037b04
8,648
0
Title: How can I empty the recycle bin for all users from a Windows service application in c# I'm looking for a c# snippet which I can insert in a Windows service. The code must empty the recycle bin for all users on the computer. I have previously tried using SHEmptyRecycleBin (ref http://www.codeproject.com/KB/cs/...
107
120
[ "c#" ]
[ "c#", "recycle-bin" ]
{"accepted_answer_id":null,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T10:32:40.100000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["c#"],"last_activity_date":"2024-01-19T13:38:53.993000+00:00","last_edit_date":"2011-09-02T12:09:08.750000+00:00","...
[ 0.0263824462890625, -0.01195526123046875, 0.00751495361328125, 0.0177459716796875, 0.01739501953125, -0.01425933837890625, -0.056549072265625, 0.00505828857421875, -0.005828857421875, -0.0003383159637451172, -0.0234222412109375, 0.00016176700592041016, 0.0191650390625, -0.0129547119140625,...
[ 23, 70, 73, 87, 93, 100, 456, 501, 571, 678, 756, 831, 939, 1295, 2394, 3773, 4000, 4332, 4439, 4488, 4516, 4904, 5426, 8110, 11249, 13028, 13909, 16487, 17368, 18151, 18883, 37842, 38415, 39709, 40899, 48962, 51042, 54825, 58134, 72095, ...
[ 0.0277099609375, 0.0211181640625, 0.16015625, 0.033447265625, 0.056396484375, 0.0712890625, 0.126953125, 0.026123046875, 0.09423828125, 0.01708984375, 0.103515625, 0.07470703125, 0.1240234375, 0.11328125, 0.208984375, 0.1123046875, 0.0810546875, 0.07763671875, 0.041259765625, 0...
a86c29ea-effb-5261-9fe0-3499c1e85c1b
8,691
0
Title: User Control Property Designer Properties For a C# UserControl on Windows Mobile (though please answer if you know it for full Windows...it might work) how do you change what shows up in the Designer Properties window for one of the Control's public Properties. For example: private Color blah = Color.Black; ...
278
321
[ "c#" ]
[ "c#", "user-controls", "windows-mobile" ]
{"accepted_answer_id":8706,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T11:25:41.227000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2020-01-19T13:30:44.720000+00:00","last_edit_date":"2016-02-07T18:17:33.180000+00:00","q...
[ 0.01091766357421875, 0.01461029052734375, 0.0107421875, 0.02911376953125, 0.00974273681640625, -0.0029201507568359375, -0.0338134765625, 0.03662109375, 0.01250457763671875, -0.01666259765625, -0.0194854736328125, 0.0213623046875, 0.0396728515625, 0.004459381103515625, 0.0196075439453125,...
[ 5, 18, 54, 56, 100, 110, 127, 223, 238, 275, 313, 335, 398, 441, 856, 903, 1021, 1257, 1566, 2046, 2174, 2203, 2367, 2832, 2886, 3081, 3173, 3432, 3642, 3773, 3835, 3871, 4393, 4488, 4527, 4734, 4904, 5154, 5423, 5928, 6226, 6609, 8...
[ 0.025634765625, 0.009033203125, 0.045654296875, 0.06884765625, 0.029296875, 0.0177001953125, 0.15234375, 0.0712890625, 0.0869140625, 0.03857421875, 0.0174560546875, 0.080078125, 0.032958984375, 0.0208740234375, 0.0478515625, 0.083984375, 0.126953125, 0.0966796875, 0.2333984375, ...
eee30cb4-cce9-5313-b587-bee72e955c1f
8,763
0
Title: Best way to play MIDI sounds using C# I'm trying to rebuild an old metronome application that was originally written using MFC in C++ to be written in .NET using C#. One of the issues I'm running into is playing the midi files that are used to represent the metronome "clicks". I've found a few articles online...
161
177
[ ".net", "c#" ]
[ "c#", ".net", "midi" ]
{"accepted_answer_id":8777,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":"2025-10-31T16:23:46.387000+00:00","creation_date":"2008-08-12T12:34:07.733000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2026-01-05T12:35:17.953000+00:00","last_edit_date":...
[ 0.0201416015625, 0.01232147216796875, -0.0055694580078125, -0.00201416015625, 0.002933502197265625, 0.0002111196517944336, -0.0162353515625, 0.031524658203125, 0.023101806640625, 0.031280517578125, -0.037689208984375, 0.0116119384765625, 0.0175323486328125, -0.003021240234375, 0.00953674...
[ 5, 7, 14, 23, 276, 313, 456, 538, 686, 2684, 3917, 4122, 4527, 4904, 6097, 10332, 11301, 11345, 11814, 16940, 17368, 17777, 19882, 22008, 23205, 25842, 27529, 28219, 31577, 33636, 34844, 35773, 35978, 37223, 37348, 37676, 38415, 38440, 4325...
[ 0.0703125, 0.09375, 0.181640625, 0.064453125, 0.1767578125, 0.07373046875, 0.0537109375, 0.055908203125, 0.045166015625, 0.013916015625, 0.058837890625, 0.1982421875, 0.09228515625, 0.2158203125, 0.012451171875, 0.016357421875, 0.1669921875, 0.1171875, 0.05078125, 0.00073242187...
d1ccefba-eae2-5dac-b48f-5871e323285d
8,800
0
Title: Best implementation for Key Value Pair Data Structure? So I've been poking around with C# a bit lately, and all the Generic Collections have me a little confused. Say I wanted to represent a data structure where the head of a tree was a key value pair, and then there is one optional list of key value pairs belo...
196
214
[ "c#" ]
[ "c#", "data-structures", "collections" ]
{"accepted_answer_id":8811,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T13:12:50.887000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2023-07-01T17:59:39.583000+00:00","last_edit_date":"2008-08-25T12:57:23.783000+00:00","q...
[ 0.019927978515625, 0.005603790283203125, -0.0108489990234375, -0.0005521774291992188, 0.00341033935546875, -0.004772186279296875, -0.003009796142578125, 0.0141754150390625, 0.0131683349609375, 0.0163726806640625, -0.04766845703125, 0.01334381103515625, -0.003528594970703125, -0.01126861572...
[ 13, 14, 19, 83, 111, 132, 238, 313, 452, 481, 509, 660, 717, 903, 1098, 1342, 2053, 3835, 4904, 5303, 6183, 6635, 6644, 8273, 8335, 8633, 8781, 10336, 10763, 10932, 11338, 11345, 11809, 18507, 22799, 26824, 33636, 34292, 35064, 35829, 3...
[ 0.05126953125, 0.0986328125, 0.0167236328125, 0.025146484375, 0.00244140625, 0.013916015625, 0.08984375, 0.0126953125, 0.0732421875, 0.16015625, 0.017578125, 0.1064453125, 0.1044921875, 0.0166015625, 0.1357421875, 0.15234375, 0.134765625, 0.058349609375, 0.1552734375, 0.1035156...
66ae866e-8f21-5ab2-830d-0c1212a707c1
8,893
0
Title: Anyone know of an on-line free database? I wrote an application that currently runs against a local instance of MySql. I would like to centralize the DB somewhere on the Net, and share my application. But, I'm cheap, and don't want to pay for it. Does anyone know of a free on-line relational DB service that I...
81
88
[ "c#" ]
[ "c#", "database" ]
{"accepted_answer_id":8906,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":"2012-12-22T18:20:51.067000+00:00","creation_date":"2008-08-12T14:35:39.643000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["c#"],"last_activity_date":"2012-07-26T01:56:21.773000+00:00","last_edit_date":null,"qu...
[ 0.0303955078125, -0.02001953125, -0.0240325927734375, -0.0155487060546875, 0.0166015625, -0.0166015625, -0.05560302734375, 0.0016117095947265625, 0.00824737548828125, 0.00989532470703125, -0.040740966796875, -0.01154327392578125, 0.0229644775390625, 0.0038280487060546875, 0.0139541625976...
[ 9, 10, 18, 32, 39, 47, 70, 98, 100, 111, 142, 289, 294, 313, 1829, 1884, 2256, 2301, 2646, 2806, 3444, 3630, 3714, 4000, 4092, 4516, 4904, 4966, 5809, 8783, 9879, 10086, 12008, 20650, 26548, 28541, 35672, 37067, 38415, 41911, 48962, 5...
[ 0.03515625, 0.0157470703125, 0.09765625, 0.01904296875, 0.045654296875, 0.0556640625, 0.0140380859375, 0.1455078125, 0.053466796875, 0.06103515625, 0.0517578125, 0.0791015625, 0.048095703125, 0.045166015625, 0.0546875, 0.1142578125, 0.150390625, 0.056884765625, 0.111328125, 0.0...
8ecbdc75-8dcc-58d9-a0d7-469c9984d25b
8,896
0
Title: Can I get Memcached running on a Windows (x64) 64bit environment? Does anyone know IF, WHEN or HOW I can get Memcached running on a Windows 64bit environment? I'm setting up a new hosting solution and would much prefer to run a 64bit OS, and since it's an ASP.Net MVC solution with SQL Server DB, the OS is ei...
788
798
[ "c#", "c++" ]
[ "c#", "c++", "windows", "64-bit", "memcached" ]
{"accepted_answer_id":2356710,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T14:37:28.703000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#","c++"],"last_activity_date":"2019-12-12T17:44:53.040000+00:00","last_edit_date":"2019-12-12T17:44:53.040000...
[ -0.0014705657958984375, -0.0115203857421875, -0.00748443603515625, 0.00778961181640625, 0.0158843994140625, -0.01971435546875, -0.036468505859375, 0.0274658203125, 0.0290679931640625, -0.0157012939453125, -0.037200927734375, 0.0157623291015625, 0.0291900634765625, 0.003326416015625, 0.07...
[ 4, 6, 7, 9, 10, 15, 16, 18, 20, 23, 25, 39, 40, 47, 54, 58, 64, 67, 70, 83, 87, 98, 99, 100, 107, 111, 136, 138, 142, 186, 196, 214, 221, 237, 247, 249, 272, 297, 302, 313, 329, 357, 375, 398, 425, 442, 450, 456, 497, ...
[ 0.008056640625, 0.0078125, 0.008056640625, 0.006591796875, 0.008544921875, 0.0078125, 0.0078125, 0.00830078125, 0.007080078125, 0.008544921875, 0.008056640625, 0.0087890625, 0.008544921875, 0.02197265625, 0.008056640625, 0.0078125, 0.006591796875, 0.007080078125, 0.008056640625, ...
2b3eff29-c4aa-5ff3-a9e3-2c7f40e8b4a9
8,919
0
Title: Looking for best practice for doing a "Net Use" in C# I'd rather not have to resort to calling the command line. I'm looking for code that can map/disconnect a drive, while also having exception handling. Any ideas?
54
56
[ ".net", "c#" ]
[ "c#", ".net-1.1" ]
{"accepted_answer_id":8928,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T14:53:58.233000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2013-07-04T12:04:47.110000+00:00","last_edit_date":"2013-07-04T12:04:47.110000+00...
[ -0.0101318359375, -0.0290374755859375, -0.0200347900390625, 0.00894927978515625, 0.02239990234375, 0.00278472900390625, -0.0128631591796875, -0.0097198486328125, 0.016357421875, -0.0009632110595703125, -0.0250091552734375, -0.00583648681640625, 0.03436279296875, -0.0238189697265625, 0.02...
[ 10, 23, 64, 71, 100, 313, 765, 831, 959, 2965, 3827, 4904, 12960, 13315, 16487, 18151, 19441, 20594, 22288, 22648, 24447, 25647, 36836, 41361, 43257, 45064, 48962, 70634, 75101, 131527, 135457, 157268, 159029 ]
[ 0.007568359375, 0.027099609375, 0.0439453125, 0.043701171875, 0.03857421875, 0.05078125, 0.013427734375, 0.0654296875, 0.0712890625, 0.1201171875, 0.1171875, 0.203125, 0.026123046875, 0.0693359375, 0.0947265625, 0.1640625, 0.033203125, 0.0654296875, 0.1826171875, 0.1767578125, ...
e338e966-1c17-5c72-8ee7-e480688af614
8,941
0
Title: Generic type checking Is there a way to enforce/limit the types that are passed to primitives? (bool, int, string, etc.) Now, I know you can limit the generic type parameter to a type or interface implementation via the where clause. However, this doesn't fit the bill for primitives (AFAIK) because they do no...
736
809
[ "c#" ]
[ "c#", "generics", "primitive", "type-safety" ]
{"accepted_answer_id":8956,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T15:07:40.887000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2022-05-21T19:11:04.440000+00:00","last_edit_date":"2021-07-09T11:17:37.160000+00:00","q...
[ 0.0012159347534179688, 0.019927978515625, -0.01447296142578125, 0.01139068603515625, 0.0131683349609375, -0.0171966552734375, -0.0288238525390625, 0.0288238525390625, 0.00848388671875, 0.01458740234375, -0.05218505859375, 0.028228759765625, -0.0009489059448242188, -0.0031280517578125, 0....
[ 4, 5, 6, 7, 10, 11, 12, 14, 15, 16, 18, 22, 23, 25, 39, 47, 54, 56, 58, 70, 71, 74, 83, 87, 90, 98, 99, 100, 102, 111, 116, 126, 132, 136, 142, 145, 186, 237, 254, 257, 294, 297, 384, 398, 425, 442, 450, 509, 532, 538,...
[ 0.002197265625, 0.002197265625, 0.002197265625, 0.0029296875, 0.01611328125, 0.000732421875, 0.001708984375, 0.06884765625, 0.00244140625, 0.002685546875, 0.08984375, 0.0771484375, 0.0322265625, 0.002685546875, 0.003173828125, 0.04736328125, 0.001953125, 0.002197265625, 0.0021972...
aba59cce-0827-5382-816a-8e69b2ce244c
8,966
0
Title: Using C#/WIA version 2.0 on Vista to Scan I want to implement a paperless filing system and was looking to use WIA with C# for the image acquisition. There are quite a few sample projects on CodeProject, etc. However, after downloading every one of them that I can find, I have run into a problem. In each and ...
210
211
[ ".net", "c#" ]
[ "c#", ".net", ".net-3.5", "wia", "image-scanner" ]
{"accepted_answer_id":107940,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T15:28:34.573000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2012-01-06T06:51:31.343000+00:00","last_edit_date":"2011-05-15T13:31:51.517000+...
[ -0.0029315948486328125, -0.0032138824462890625, -0.0155181884765625, 0.006099700927734375, 0.0014514923095703125, -0.011962890625, 0.004680633544921875, 0.0184783935546875, 0.005451202392578125, 0.01090240478515625, -0.0125579833984375, -0.0008883476257324219, 0.04833984375, -0.00835418701...
[ 47, 81, 98, 100, 237, 284, 313, 345, 425, 601, 615, 678, 809, 1257, 2069, 2566, 2967, 3444, 3773, 3934, 4488, 4527, 4677, 4734, 4904, 5426, 6953, 7026, 7413, 7842, 8961, 9393, 9852, 10846, 11389, 11675, 11907, 12638, 12921, 15122, 15190...
[ 0.053466796875, 0.1123046875, 0.03955078125, 0.0150146484375, 0.01220703125, 0.240234375, 0.0439453125, 0.1025390625, 0.1435546875, 0.17578125, 0.1083984375, 0.1005859375, 0.150390625, 0.041259765625, 0.107421875, 0.220703125, 0.1220703125, 0.05029296875, 0.16796875, 0.01123046...
5b6ad3bd-c7db-5394-b63f-7dc13018b0d4
8,987
0
Title: Calling Table-Valued SQL Functions From .NET Scalar-valued functions can be called from .NET as follows: SqlCommand cmd = new SqlCommand("testFunction", sqlConn); //testFunction is scalar cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add("retVal", SqlDbType.Int); cmd.Parameters["retVal"].Dir...
210
333
[ ".net", "c#", "sql" ]
[ "c#", ".net", "sql" ]
{"accepted_answer_id":8993,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T15:50:49.460000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#","sql"],"last_activity_date":"2014-07-26T10:37:16.860000+00:00","last_edit_date":"2014-01-13T23:52:57.440...
[ -0.005733489990234375, -0.016326904296875, 0.0170440673828125, -0.01068115234375, 0.0176544189453125, -0.0210113525390625, -0.0008592605590820312, 0.0063323974609375, -0.00047278404235839844, 0.030609130859375, -0.016571044921875, -0.0028972625732421875, -0.0135650634765625, 0.006092071533...
[ 7, 9, 34, 41, 42, 71, 93, 159, 214, 237, 297, 320, 408, 831, 856, 987, 1295, 1827, 1884, 2264, 2631, 3034, 3525, 3931, 4028, 4288, 4343, 5117, 5713, 6276, 6954, 7136, 9030, 10763, 10770, 11935, 12018, 17777, 18151, 20949, 21373, 22409...
[ 0.04931640625, 0.007080078125, 0.11328125, 0.048583984375, 0.09912109375, 0.10693359375, 0.0172119140625, 0.005615234375, 0.057861328125, 0.06201171875, 0.0888671875, 0.1875, 0.1552734375, 0.076171875, 0.08251953125, 0.027587890625, 0.103515625, 0.15234375, 0.041259765625, 0.07...
4a7a0ac3-8727-597d-b39a-b0234c9dfd77
9,033
0
Title: Hidden Features of C#? This came to my mind after I learned the following from this question: where T : struct We, C# developers, all know the basics of C#. I mean declarations, conditionals, loops, operators, etc. Some of us even mastered the stuff like Generics, anonymous types, lambdas, LINQ, ... But...
768
860
[ "c#" ]
[ "c#", "hidden-features" ]
{"accepted_answer_id":null,"answer_count":296,"chunk_count":1,"chunk_index":0,"closed_date":"2012-02-29T16:52:14.497000+00:00","creation_date":"2008-08-12T16:32:24.540000+00:00","has_accepted_answer":false,"is_closed":true,"languages":["c#"],"last_activity_date":"2019-03-04T18:39:27.027000+00:00","last_edit_date":"2017...
[ 0.022064208984375, 0.0015773773193359375, -0.005340576171875, 0.006927490234375, 0.0254669189453125, -0.030517578125, -0.032623291015625, 0.0226593017578125, 0.0149078369140625, 0.023590087890625, -0.0396728515625, -0.0119171142578125, 0.0007300376892089844, -0.01080322265625, 0.04626464...
[ 4, 5, 6, 7, 9, 11, 12, 13, 14, 15, 16, 19, 22, 23, 32, 42, 47, 51, 53, 56, 66, 67, 70, 71, 73, 83, 87, 90, 92, 96, 111, 126, 127, 132, 136, 158, 159, 191, 192, 214, 221, 237, 238, 241, 247, 248, 254, 257, 262, 276, 2...
[ 0.0152587890625, 0.0145263671875, 0.013671875, 0.0849609375, 0.014892578125, 0.012939453125, 0.0145263671875, 0.0147705078125, 0.014404296875, 0.013916015625, 0.0142822265625, 0.001953125, 0.013427734375, 0.013427734375, 0.0140380859375, 0.014404296875, 0.013916015625, 0.0090332031...
c0a527b2-f4cc-5038-8830-f80954c604d1
9,136
0
Title: Enterprise Library CacheFactory.GetCacheManager Throws Null Ref I'm trying to convert an application using the 1.1 version of the Enterprise Library Caching block over to the 2.0 version. I think where I'm really having a problem is that the configuration for the different EntLib pieces was split out over sever...
139
155
[ "c#" ]
[ "c#", "configuration", "enterprise-library" ]
{"accepted_answer_id":9706,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T19:01:17.140000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2016-02-07T18:24:02.290000+00:00","last_edit_date":"2008-08-31T00:28:32.507000+00:00","q...
[ 0.0087890625, 0.006622314453125, -0.0171051025390625, -0.025665283203125, 0.01425933837890625, -0.01039886474609375, -0.01995849609375, 0.03326416015625, 0.0010690689086914062, -0.0179443359375, -0.05609130859375, -0.0229339599609375, -0.0083770751953125, 0.0072479248046875, 0.0325622558...
[ 294, 441, 509, 603, 645, 1181, 1429, 1430, 1810, 1916, 2041, 2967, 5036, 6183, 7010, 7941, 11389, 11435, 11814, 12662, 12921, 15555, 16511, 16655, 17777, 19441, 27781, 31577, 31667, 33730, 34831, 38245, 38415, 40368, 43701, 46389, 46994, 4896...
[ 0.029541015625, 0.009521484375, 0.00927734375, 0.119140625, 0.10205078125, 0.0888671875, 0.10693359375, 0.0927734375, 0.11328125, 0.09619140625, 0.119140625, 0.0693359375, 0.0184326171875, 0.0242919921875, 0.03125, 0.015625, 0.06787109375, 0.146484375, 0.00048828125, 0.11425781...
ba7df7a2-d295-5e54-974f-0c98d35f0131
9,173
0
Title: Lingering assembly dependency in C# .NET My C# project - we'll call it the SuperUI - used to make use of a class from an external assembly. Now it doesn't, but the compiler won't let me build the project without the assembly reference in place. Let me elaborate. This project used to throw and catch a custom e...
373
434
[ ".net", "c#" ]
[ "c#", ".net", "dependencies" ]
{"accepted_answer_id":559613,"answer_count":13,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T19:35:44.590000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2012-12-04T08:21:12.663000+00:00","last_edit_date":"2008-08-12T23:30:19.203000...
[ 0.0237884521484375, -0.021759033203125, -0.00043702125549316406, -0.00603485107421875, 0.012908935546875, -0.01464080810546875, 0.0283355712890625, 0.0298919677734375, 0.01129913330078125, -0.021759033203125, -0.036590576171875, -0.0009374618530273438, -0.021392822265625, -0.00364685058593...
[ 10, 18, 284, 313, 397, 435, 959, 1286, 1295, 1340, 2633, 3164, 3535, 3647, 3687, 3789, 4209, 4265, 4527, 4904, 5570, 5885, 6275, 8110, 9393, 9969, 10644, 11368, 11435, 11814, 12353, 13452, 13580, 14168, 15190, 15490, 16406, 17777, 18151, ...
[ 0.056640625, 0.00830078125, 0.0157470703125, 0.026123046875, 0.028076171875, 0.007080078125, 0.10400390625, 0.021484375, 0.03369140625, 0.1201171875, 0.03173828125, 0.019287109375, 0.00048828125, 0.134765625, 0.054443359375, 0.005859375, 0.0927734375, 0.1806640625, 0.107421875, ...
5c819e5f-e5f4-5859-9660-24c672332d5f
9,303
0
Title: How do you retrieve selected text using Regex in C#? How do you retrieve selected text using Regex in C#? I am looking for C# code that is equivalent to this Perl code: $indexVal = 0; if($string =~ /Index: (\d*)/){$indexVal = $1;}
71
80
[ "c#", "perl" ]
[ "c#", "regex", "perl" ]
{"accepted_answer_id":9306,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T23:04:10.770000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#","perl"],"last_activity_date":"2016-02-07T18:22:49.413000+00:00","last_edit_date":"2011-10-25T10:13:27.540000+00...
[ 0.017974853515625, -0.01125335693359375, -0.00887298583984375, -0.037628173828125, 0.0036163330078125, -0.0089874267578125, 0.008331298828125, -0.00327301025390625, 0.004436492919921875, -0.004970550537109375, -0.03643798828125, -0.0114898681640625, 0.0240478515625, -0.005802154541015625, ...
[ 23, 54, 141, 248, 313, 456, 757, 903, 908, 2174, 2203, 2306, 3134, 3355, 3996, 4153, 4711, 4904, 7986, 11249, 11678, 16487, 17368, 18151, 38629, 39659, 42272, 48962, 77518, 91693, 133291, 183234 ]
[ 0.0625, 0.027587890625, 0.107421875, 0.0262451171875, 0.05029296875, 0.076171875, 0.0908203125, 0.013671875, 0.1005859375, 0.05126953125, 0.01708984375, 0.0029296875, 0.138671875, 0.271484375, 0.150390625, 0.034423828125, 0.1298828125, 0.2314453125, 0.2177734375, 0.06884765625,...
639db66f-3305-5218-bbfa-2d9575df6485
9,304
0
Title: C# 3.0 auto-properties — useful or not? Note: This was posted when I was starting out C#. With 2014 knowledge, I can truly say that auto-properties are among the best things that ever happened to the C# language. I am used to create my properties in C# using a private and a public field: private string titl...
332
342
[ ".net", "c#" ]
[ "c#", ".net", "automatic-properties" ]
{"accepted_answer_id":9310,"answer_count":17,"chunk_count":1,"chunk_index":0,"closed_date":"2014-02-03T23:47:40.120000+00:00","creation_date":"2008-08-12T23:06:58.767000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2018-12-12T08:35:03.390000+00:00","last_edit_date":...
[ 0.01165771484375, -0.017730712890625, -0.001583099365234375, 0.0155792236328125, 0.0516357421875, -0.01189422607421875, -0.01367950439453125, 0.0418701171875, 0.01016998291015625, -0.0009737014770507812, -0.057098388671875, -0.0018587112426757812, 0.019622802734375, -0.0111846923828125, ...
[ 8, 9, 56, 57, 64, 74, 136, 163, 313, 707, 720, 959, 978, 1049, 1207, 1274, 1286, 1295, 1809, 1957, 2046, 2449, 2806, 2965, 3357, 3444, 3509, 3630, 3835, 4163, 4527, 4904, 5423, 5915, 6097, 6238, 7639, 8966, 11814, 12638, 14315, 14375,...
[ 0.0869140625, 0.06640625, 0.1865234375, 0.06201171875, 0.01611328125, 0.03125, 0.0308837890625, 0.0068359375, 0.045166015625, 0.044189453125, 0.1162109375, 0.036865234375, 0.1015625, 0.0693359375, 0.0712890625, 0.1015625, 0.04345703125, 0.08203125, 0.240234375, 0.020751953125, ...
04ae7240-ad87-5862-9ef2-11681574c5ce
9,314
0
Title: "Could not find type" error loading a form in the Windows Forms Designer I have a .NET 2.0 windows forms app, which makes heavy use of the ListView control. I've subclassed the ListView class into a templated SortableListView<T> class, so it can be a bit smarter about how it displays things, and sort itself. ...
453
591
[ ".net", "c#" ]
[ "c#", ".net", "winforms", "visual-studio-2008", "visual-studio-2005" ]
{"accepted_answer_id":9387,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T23:17:00.540000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2021-04-12T06:54:12.713000+00:00","last_edit_date":"2015-03-25T00:56:51.693000+0...
[ 0.01788330078125, 0.0133209228515625, 0.000030934810638427734, -0.00402069091796875, 0.0181121826171875, -0.0012445449829101562, 0.005100250244140625, 0.0345458984375, 0.037200927734375, 0.0078582763671875, -0.023040771484375, 0.0166778564453125, 0.01271820068359375, -0.0012521743774414062...
[ 4, 5, 6, 7, 10, 13, 14, 16, 23, 25, 40, 47, 56, 70, 71, 74, 83, 99, 111, 132, 136, 186, 214, 237, 272, 284, 297, 442, 450, 509, 538, 618, 903, 959, 1301, 1340, 1511, 1528, 1614, 1810, 1830, 2646, 2740, 2809, 2822, 2886, 3142...
[ 0.005126953125, 0.005859375, 0.00390625, 0.052490234375, 0.00537109375, 0.005615234375, 0.00439453125, 0.0048828125, 0.004150390625, 0.00341796875, 0.004638671875, 0.00537109375, 0.005126953125, 0.00537109375, 0.0048828125, 0.0048828125, 0.005615234375, 0.002685546875, 0.00463867...
ec92a017-830a-58a0-944c-bab9d60e6a19
9,376
0
Title: ILMerge Best Practices Do you use ILMerge? Do you use ILMerge to merge multiple assemblies to ease deployment of dll's? Have you found problems with deployment/versioning in production after ILMerging assemblies together? I'm looking for some advice in regards to using ILMerge to reduce deployment friction, i...
76
96
[ ".net", "c#" ]
[ "c#", ".net", "deployment", "ilmerge" ]
{"accepted_answer_id":34033,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T01:05:47.250000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2017-02-28T13:36:45.647000+00:00","last_edit_date":"2011-08-15T18:27:07.563000+...
[ 0.018951416015625, -0.004913330078125, -0.01393890380859375, 0.0038127899169921875, 0.05267333984375, 0.007297515869140625, 0.007358551025390625, 0.0206146240234375, 0.02215576171875, 0.0165557861328125, -0.034088134765625, 0.0129852294921875, 0.007476806640625, 0.0037078857421875, 0.036...
[ 5, 8, 28, 47, 53, 90, 398, 429, 984, 4527, 5129, 6991, 7103, 7121, 7722, 9966, 10763, 11345, 13158, 16487, 17368, 25842, 30219, 30248, 34390, 36049, 42564, 44402, 46354, 48716, 48962, 67660, 81717, 89845, 109613 ]
[ 0.008544921875, 0.07421875, 0.033203125, 0.0517578125, 0.03466796875, 0.01611328125, 0.06201171875, 0.2470703125, 0.009033203125, 0.1455078125, 0.1318359375, 0.1201171875, 0.013427734375, 0.107421875, 0.0625, 0.1259765625, 0.05224609375, 0.1025390625, 0.138671875, 0.01538085937...
fa0c3c79-0461-513f-a4e2-5a78de1ab238
9,472
0
Title: WCF Backward Compatibility Issue I have a WCF service that I have to reference from a .net 2.0 project. I have tried to reference it using the "add web reference" method but it messes up the params. For example, I have a method in the service that expects a char[] to be passed in, but when I add the web re...
193
195
[ ".net", "c#" ]
[ "c#", ".net", "wcf" ]
{"accepted_answer_id":9531,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T04:27:31.773000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2015-09-09T09:51:26+00:00","last_edit_date":"2015-09-09T09:51:26+00:00","question...
[ -0.013824462890625, -0.011749267578125, -0.00860595703125, 0.0038280487060546875, 0.0004930496215820312, -0.042724609375, 0.00830841064453125, 0.0207672119140625, 0.00824737548828125, 0.005489349365234375, -0.0242156982421875, 0.0023136138916015625, 0.0240936279296875, 0.024444580078125, ...
[ 5, 18, 23, 70, 121, 163, 442, 831, 919, 1010, 1179, 1257, 1340, 1467, 1661, 1888, 2965, 3675, 4028, 4432, 4516, 6275, 8562, 9969, 12669, 13452, 15190, 15612, 16655, 17596, 18507, 19364, 21441, 26828, 37808, 37842, 41206, 43576, 48962, 553...
[ 0.004638671875, 0.078125, 0.07861328125, 0.018310546875, 0.0830078125, 0.08984375, 0.009033203125, 0.026611328125, 0.2177734375, 0.041748046875, 0.1376953125, 0.06884765625, 0.119140625, 0.103515625, 0.021240234375, 0.1611328125, 0.046142578125, 0.1875, 0.10546875, 0.1123046875...
4d2f5cca-11ca-58f2-80f7-d74019d7b448
9,486
0
Title: How do I make Visual Studio auto generate braces for a function block? I could swear I've seen people typing function headers and then hitting some key combination to auto-create function braces and insert the cursor between them like so: void foo()_ to void foo() { _ } Is this a built-in feature?
71
83
[ "c#" ]
[ "c#", "visual-studio" ]
{"accepted_answer_id":9491,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T05:09:33.233000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2013-04-01T18:52:23.800000+00:00","last_edit_date":null,"question_id":9486,"score":11,"s...
[ 0.01226043701171875, -0.00789642333984375, 0.0372314453125, -0.01520538330078125, 0.04644775390625, -0.0306396484375, -0.0016870498657226562, 0.03887939453125, 0.00860595703125, 0.016143798828125, -0.018035888671875, 0.02203369140625, 0.0238037109375, -0.005039215087890625, 0.00807189941...
[ 31, 42, 47, 54, 71, 73, 87, 100, 136, 147, 221, 903, 1314, 1620, 1809, 2182, 2292, 3249, 5170, 5775, 5809, 5962, 7612, 10336, 11249, 11417, 13810, 17721, 22799, 22968, 32354, 46389, 51592, 52113, 60213, 73372, 88303, 139392, 162515, 18354...
[ 0.14453125, 0.10009765625, 0.0458984375, 0.0142822265625, 0.014892578125, 0.05810546875, 0.02001953125, 0.001953125, 0.0029296875, 0.04638671875, 0.00341796875, 0.0181884765625, 0.0673828125, 0.21875, 0.1796875, 0.064453125, 0.1328125, 0.083984375, 0.212890625, 0.14453125, 0....
bf9689f6-4064-5cc6-a892-e76ba3d7b467
9,508
0
Title: C# 2.0 code consuming assemblies compiled with C# 3.0 This should be fine seeing as the CLR hasn't actually changed? The boxes running the C# 2.0 code have had .NET 3.5 rolled out. The background is that we have a windows service (.NET 2.0 exe built with VS2005, deployed to ~150 servers) that dynamically lo...
222
229
[ ".net", "c#" ]
[ "c#", ".net", ".net-3.5" ]
{"accepted_answer_id":9526,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T06:17:00.570000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2013-07-05T19:20:00.637000+00:00","last_edit_date":"2013-07-05T19:20:00.637000+00...
[ 0.0033092498779296875, -0.018951416015625, -0.0148468017578125, -0.01275634765625, 0.0174102783203125, -0.007274627685546875, 0.0096588134765625, 0.0262298583984375, 0.01514434814453125, 0.0135345458984375, -0.036956787109375, -0.00995635986328125, 0.0226593017578125, 0.00775146484375, 0...
[ 5, 214, 313, 678, 1810, 1884, 2737, 3664, 4343, 4516, 4904, 5324, 5608, 5885, 5974, 7121, 10723, 11389, 12765, 13158, 16396, 16530, 16655, 17368, 17596, 17777, 18151, 18588, 19236, 20653, 21972, 26548, 28484, 30388, 32096, 36069, 38704, 43240...
[ 0.022705078125, 0.0194091796875, 0.035888671875, 0.04248046875, 0.037841796875, 0.039306640625, 0.15625, 0.0302734375, 0.034423828125, 0.1396484375, 0.2255859375, 0.142578125, 0.0177001953125, 0.1318359375, 0.09228515625, 0.10498046875, 0.1171875, 0.0869140625, 0.056640625, 0.1...
b244584a-7eba-5b00-949a-5f9ceb2897e5
9,666
0
Title: Is accessing a variable in C# an atomic operation? I've been raised to believe that if multiple threads can access a variable, then all reads from and writes to that variable must be protected by synchronization code, such as a "lock" statement, because the processor might switch to another thread halfway throu...
241
274
[ "c#" ]
[ "c#", "multithreading" ]
{"accepted_answer_id":9788,"answer_count":15,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T11:41:29.307000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2021-01-27T03:15:46.800000+00:00","last_edit_date":"2008-08-13T12:28:40.787000+00:00","...
[ 0.020721435546875, 0.016845703125, -0.0200042724609375, 0.0087890625, 0.0189056396484375, 0.000270843505859375, -0.029327392578125, -0.0011587142944335938, 0.00994110107421875, 0.003635406494140625, -0.035400390625, 0.00008803606033325195, 0.0111541748046875, -0.036834716796875, 0.043640...
[ 7, 23, 47, 91, 111, 136, 142, 214, 289, 313, 360, 454, 594, 756, 831, 1771, 1890, 2071, 2292, 3525, 3835, 4153, 4233, 4904, 12301, 12353, 13648, 14375, 14543, 16070, 17203, 18151, 18507, 18822, 20287, 21135, 23552, 27417, 29367, 29568, ...
[ 0.0234375, 0.0255126953125, 0.0250244140625, 0.1103515625, 0.0167236328125, 0.056640625, 0.001220703125, 0.0380859375, 0.08984375, 0.04931640625, 0.029052734375, 0.001220703125, 0.0322265625, 0.011474609375, 0.04736328125, 0.138671875, 0.1025390625, 0.06494140625, 0.08935546875, ...
831561ab-35e6-52bf-bf86-2bae7bffd262
9,673
0
Title: How do I remove duplicates from a C# array? I have been working with a string[] array in C# that gets returned from a function call. I could possibly cast to a Generic collection, but I was wondering if there was a better way to do it, possibly by using a temp array. What is the best way to remove duplicates ...
80
87
[ "c#" ]
[ "c#", "arrays", "duplicates" ]
{"accepted_answer_id":9685,"answer_count":29,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T11:48:44.360000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2023-05-06T08:39:19.487000+00:00","last_edit_date":"2017-09-26T19:21:51.060000+00:00","...
[ 0.01313018798828125, 0.0127105712890625, -0.0030117034912109375, 0.045562744140625, 0.0266265869140625, -0.03045654296875, -0.031890869140625, -0.028656005859375, -0.002353668212890625, 0.02734375, -0.021575927734375, -0.00047969818115234375, -0.0094757080078125, -0.032135009765625, 0.00...
[ 47, 53, 54, 87, 313, 1295, 1636, 1771, 2965, 3917, 4904, 10298, 11249, 11522, 11782, 17368, 20697, 20805, 32354, 37702, 42486, 48962, 79315, 87388, 88342, 144681, 149016, 171763, 176377 ]
[ 0.03857421875, 0.13671875, 0.018798828125, 0.03369140625, 0.044921875, 0.11328125, 0.166015625, 0.042724609375, 0.09619140625, 0.0439453125, 0.2041015625, 0.189453125, 0.068359375, 0.0810546875, 0.11328125, 0.029052734375, 0.046142578125, 0.1923828125, 0.1298828125, 0.08984375,...
dfb11bc8-15c8-5070-894c-ac8b506433fd
9,734
0
Title: C#.Net case-insensitive string Why does C#.Net allow the declaration of the string object to be case-insensitive? String sHello = "Hello"; string sHello = "Hello"; Both the lower-case and upper-case S of the word String are acceptable and this seems to be the only object that allows this. Can anyone expla...
78
90
[ ".net", "c#" ]
[ "c#", ".net" ]
{"accepted_answer_id":9747,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T12:53:20.550000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2013-12-16T01:26:06.543000+00:00","last_edit_date":"2013-12-16T01:26:06.543000+00...
[ 0.01079559326171875, -0.006137847900390625, -0.0300140380859375, 0.019805908203125, 0.0109100341796875, -0.004863739013671875, -0.01873779296875, 0.01239776611328125, 0.0192108154296875, -0.005367279052734375, -0.053375244140625, -0.012451171875, -0.0022678375244140625, -0.0121002197265625...
[ 5, 9, 13, 56, 70, 73, 91, 159, 186, 214, 313, 450, 621, 841, 903, 1407, 2203, 2565, 4734, 4904, 7225, 13817, 14602, 15400, 21635, 23351, 24447, 36746, 37202, 44084, 58437, 63769, 73342, 79315, 92319, 114864, 176302, 213850 ]
[ 0.010009765625, 0.04638671875, 0.1474609375, 0.01806640625, 0.004638671875, 0.12890625, 0.044921875, 0.1318359375, 0.05224609375, 0.15625, 0.0615234375, 0.009033203125, 0.0250244140625, 0.1044921875, 0.037353515625, 0.0751953125, 0.05908203125, 0.08056640625, 0.0927734375, 0.21...
72660ace-41b1-5179-bec6-88b64ab986a2
9,805
0
Title: Calculate DateTime Weeks into Rows I am currently writing a small calendar in ASP.Net C#. Currently to produce the rows of the weeks I do the following for loop: var iWeeks = 6; for (int w = 0; w < iWeeks; w++) { This works fine, however, some month will only have 5 weeks and in some rare cases, 4. How ca...
240
231
[ "c#" ]
[ "c#", "asp.net" ]
{"accepted_answer_id":9851,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T13:38:56.043000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2021-01-27T03:13:54.237000+00:00","last_edit_date":"2016-12-21T04:38:26.107000+00:00","q...
[ -0.007778167724609375, -0.010986328125, -0.0244598388671875, 0.0174560546875, -0.004810333251953125, 0.0115814208984375, -0.01235198974609375, -0.0024204254150390625, 0.017333984375, -0.0172271728515625, -0.0167388916015625, 0.0216217041015625, 0.01235198974609375, -0.0125274658203125, -...
[ 7, 17, 67, 100, 111, 148, 190, 285, 305, 313, 434, 757, 765, 903, 1221, 1398, 1957, 2182, 3564, 3934, 4288, 4734, 4904, 5447, 5885, 12137, 12724, 14012, 14037, 15555, 17311, 19336, 22710, 24447, 25512, 25632, 26484, 26859, 27489, 27781, ...
[ 0.1123046875, 0.06005859375, 0.05712890625, 0.0498046875, 0.032958984375, 0.07861328125, 0.13671875, 0.119140625, 0.130859375, 0.004150390625, 0.08740234375, 0.0556640625, 0.0107421875, 0.0771484375, 0.0546875, 0.123046875, 0.010986328125, 0.07763671875, 0.07275390625, 0.167968...
0bd874c4-3937-53c0-8de5-9f90e8406943
9,836
0
Title: Developer Friendly ERP My company is currently using Sage MAS as their ERP system. While integrating our shopping cart is not going to be impossible, it uses COM and has it's own challenges. I was wondering if there was a more developer friendly ERP out there. I have looked into Microsoft Dynamics but getting...
99
103
[ "c#" ]
[ "c#", "erp" ]
{"accepted_answer_id":9848,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":"2016-12-16T13:07:42.307000+00:00","creation_date":"2008-08-13T13:51:48.450000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["c#"],"last_activity_date":"2016-12-16T12:41:16.977000+00:00","last_edit_date":null,"qu...
[ 0.028289794921875, 0.0033740997314453125, -0.01226043701171875, -0.0025348663330078125, 0.01178741455078125, -0.0081939697265625, 0.0156707763671875, 0.02215576171875, -0.0030803680419921875, -0.003108978271484375, -0.03936767578125, 0.01049041748046875, 0.01532745361328125, 0.021682739257...
[ 10, 18, 47, 83, 136, 237, 313, 429, 509, 538, 947, 959, 1031, 1221, 1286, 1556, 1810, 2446, 2685, 3934, 4527, 4677, 4904, 5426, 6126, 7244, 7730, 8063, 10002, 11737, 14380, 17368, 17777, 20949, 30441, 31436, 33652, 34994, 35125, 41718, ...
[ 0.03759765625, 0.005615234375, 0.00341796875, 0.001220703125, 0.0284423828125, 0.06689453125, 0.04052734375, 0.181640625, 0.051513671875, 0.125, 0.162109375, 0.040283203125, 0.1171875, 0.00439453125, 0.115234375, 0.010986328125, 0.0242919921875, 0.008544921875, 0.07080078125, 0...
21a5a883-5665-54fa-91bb-09c4e9941252
10,071
0
Title: Compact Framework/Threading - MessageBox displays over other controls after option is chosen I'm working on an app that grabs and installs a bunch of updates off an an external server, and need some help with threading. The user follows this process: Clicks button Method checks for updates, count is return...
482
595
[ "c#" ]
[ "c#", "winforms", "multithreading", "compact-framework" ]
{"accepted_answer_id":10157,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T16:55:51.387000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2016-05-20T14:17:40.253000+00:00","last_edit_date":"2017-02-08T14:07:38.030000+00:00","...
[ -0.01546478271484375, -0.003986358642578125, 0.003261566162109375, -0.00926971435546875, -0.0030841827392578125, -0.0266876220703125, -0.01464080810546875, -0.01062774658203125, 0.0204315185546875, 0.03753662109375, -0.01021575927734375, 0.0076751708984375, 0.0361328125, -0.0252685546875, ...
[ 7, 13, 132, 214, 286, 304, 316, 645, 959, 1909, 2389, 3249, 3444, 3789, 4027, 4034, 4153, 4332, 4358, 4588, 5442, 5773, 5885, 6226, 6820, 7103, 7136, 8108, 10461, 10723, 11001, 11675, 11728, 11782, 12654, 12765, 14375, 14686, 16797, 17368...
[ 0.028564453125, 0.058837890625, 0.0595703125, 0.0556640625, 0.035400390625, 0.0693359375, 0.019775390625, 0.046630859375, 0.010498046875, 0.07861328125, 0.040771484375, 0.02001953125, 0.001953125, 0.02587890625, 0.0986328125, 0.1142578125, 0.0269775390625, 0.130859375, 0.04736328...
7ada6067-6855-500a-9266-8e4e0369b7a9
10,098
0
Title: Best mock framework that can do both WebForms and MVC? I'm getting into more of a TDD workflow, and have a mix of MVC and asp.net Web Forms apps. MOQ is recommended for MVC. I've used Rhino for Web Forms. Does anyone have a best practice for having 1 framework mock for both?
74
83
[ "c#" ]
[ "c#", "asp.net", "asp.net-mvc", "testing" ]
{"accepted_answer_id":10192,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T17:16:33.857000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2012-08-15T16:33:13.547000+00:00","last_edit_date":null,"question_id":10098,"score":2,"...
[ -0.01007843017578125, -0.0076904296875, -0.02667236328125, -0.0298004150390625, 0.0203857421875, -0.0024280548095703125, -0.0091705322265625, 0.0164031982421875, -0.0066070556640625, 0.01605224609375, -0.028717041015625, -0.01085662841796875, 0.018951416015625, 0.0107421875, 0.0113449096...
[ 7, 54, 83, 92, 100, 106, 136, 254, 272, 276, 384, 450, 831, 1179, 1286, 2737, 2965, 4002, 4043, 8698, 11345, 11507, 11814, 15044, 15236, 17664, 19441, 24057, 35672, 41361, 48962, 49966, 56349, 62130, 102973, 118664, 170198, 170846 ]
[ 0.025146484375, 0.08544921875, 0.021728515625, 0.2138671875, 0.06689453125, 0.0947265625, 0.053466796875, 0.0673828125, 0.015625, 0.06640625, 0.0142822265625, 0.0380859375, 0.1015625, 0.072265625, 0.03173828125, 0.224609375, 0.1220703125, 0.1064453125, 0.2734375, 0.21875, 0.1...
18061dc6-5e79-5bc2-8705-c37c88cddf43
10,205
0
Title: Delimited string parsing? I'm looking at parsing a delimited string, something on the order of a,b,c But this is a very simple example, and parsing delimited data can get complex; for instance 1,"Your simple algorithm, it fails",True would blow your naiive string.Split implementation to bits. Is there a...
132
165
[ "c#" ]
[ "c#", "text-parsing", "csv" ]
{"accepted_answer_id":10262,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":"2013-02-13T19:15:37.770000+00:00","creation_date":"2008-08-13T18:46:44.517000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["c#"],"last_activity_date":"2016-02-07T18:31:10.713000+00:00","last_edit_date":"2013-0...
[ 0.0020275115966796875, -0.01342010498046875, -0.0165863037109375, -0.01264190673828125, 0.01151275634765625, -0.029937744140625, -0.0192108154296875, 0.0252838134765625, -0.01073455810546875, 0.014556884765625, -0.052978515625, 0.0035343170166015625, 0.0178985595703125, -0.0167083740234375...
[ 5, 7, 8, 10, 13, 14, 24, 42, 47, 106, 126, 238, 262, 275, 289, 297, 366, 425, 442, 678, 824, 831, 882, 1771, 2046, 2053, 2189, 2806, 2831, 3387, 4092, 4127, 4353, 4527, 4552, 4785, 6159, 6609, 6953, 7244, 7986, 8781, 9844, 12989, ...
[ 0.0155029296875, 0.060302734375, 0.109375, 0.001220703125, 0.0498046875, 0.0078125, 0.0247802734375, 0.04638671875, 0.05712890625, 0.0181884765625, 0.007568359375, 0.05908203125, 0.1220703125, 0.053955078125, 0.080078125, 0.1396484375, 0.19140625, 0.140625, 0.1044921875, 0.0122...
c02427b8-2858-539d-9d6c-bb4e75522803
10,274
0
Title: When should I not use the ThreadPool in .Net? When should I not use the ThreadPool in .Net? It looks like the best option is to use a ThreadPool, in which case, why is it not the only option? What are your experiences around this?
59
65
[ ".net", "c#" ]
[ "c#", ".net", "multithreading", "design-decisions" ]
{"accepted_answer_id":10287,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":"2016-03-21T08:29:33.290000+00:00","creation_date":"2008-08-13T19:24:22.337000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2018-07-12T14:55:27.010000+00:00","last_edit_date":...
[ 0.007755279541015625, 0.0093536376953125, -0.022735595703125, 0.0273590087890625, 0.0303192138671875, -0.0235595703125, -0.006305694580078125, 0.0093536376953125, 0.016693115234375, -0.003448486328125, -0.042388916015625, -0.00324249267578125, 0.0284271240234375, 0.034820556640625, 0.021...
[ 5, 10, 23, 70, 929, 959, 2965, 4527, 4734, 5608, 7192, 14847, 15400, 24447, 33342, 35829, 134858, 136719 ]
[ 0.049560546875, 0.052734375, 0.037841796875, 0.04736328125, 0.2099609375, 0.1103515625, 0.09375, 0.08642578125, 0.004150390625, 0.06640625, 0.2021484375, 0.1064453125, 0.0279541015625, 0.181640625, 0.0245361328125, 0.0927734375, 0.0712890625, 0.208984375 ]
5a3a4cac-3560-5925-824a-3f5997fb7e67
10,412
0
Title: How can a Word document be created in C#? I have a project where I would like to generate a report export in MS Word format. The report will include images/graphs, tables, and text. What is the best way to do this? Third party tools? What are your experiences?
64
66
[ ".net", "c#" ]
[ "c#", ".net", "ms-word", "openxml" ]
{"accepted_answer_id":10423,"answer_count":16,"chunk_count":1,"chunk_index":0,"closed_date":"2013-07-15T19:32:35.050000+00:00","creation_date":"2008-08-13T22:07:45.173000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2019-11-09T21:21:22.333000+00:00","last_edit_date"...
[ -0.004558563232421875, -0.020965576171875, -0.007076263427734375, 0.01302337646484375, 0.00971221923828125, -0.0025005340576171875, -0.00669097900390625, 0.007015228271484375, -0.001739501953125, 0.0201263427734375, -0.01302337646484375, 0.004055023193359375, 0.024871826171875, -0.02522277...
[ 23, 54, 186, 313, 831, 1884, 2965, 3917, 4904, 7986, 9384, 11249, 12937, 13416, 13452, 16265, 19085, 22543, 23180, 26698, 31255, 41382, 43079, 48962, 72977, 75935, 134858, 139392, 198387 ]
[ 0.0693359375, 0.031494140625, 0.01904296875, 0.06640625, 0.0712890625, 0.05029296875, 0.06396484375, 0.041259765625, 0.205078125, 0.06103515625, 0.1396484375, 0.08154296875, 0.21484375, 0.224609375, 0.09375, 0.049072265625, 0.0703125, 0.2265625, 0.1220703125, 0.06298828125, 0...
ad66d3d1-fad5-5973-9161-4a9675ab4f5d
10,456
0
Title: HowTo Disable WebBrowser 'Click Sound' in your app only The 'click sound' in question is actually a system wide preference, so I only want it to be disabled when my application has focus and then re-enable when the application closes/loses focus. Originally, I wanted to ask this question here on stackoverflow...
619
736
[ ".net", "c#" ]
[ "c#", ".net", "winforms" ]
{"accepted_answer_id":10463,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T23:01:01.477000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2016-02-07T18:26:47.090000+00:00","last_edit_date":"2008-09-26T20:05:37.943000+0...
[ 0.031036376953125, 0.006496429443359375, 0.029388427734375, 0.007171630859375, 0.00737762451171875, -0.013580322265625, -0.03387451171875, 0.018218994140625, -0.0084075927734375, 0.0006799697875976562, -0.01375579833984375, 0.0276336669921875, 0.041168212890625, -0.0170440673828125, 0.01...
[ 4, 5, 6, 7, 9, 10, 13, 15, 16, 18, 23, 25, 28, 33, 44, 47, 53, 54, 58, 64, 67, 70, 71, 74, 83, 87, 90, 98, 100, 111, 126, 132, 136, 138, 143, 186, 190, 195, 206, 214, 221, 262, 294, 309, 334, 357, 418, 441, 442, 450, ...
[ 0.0205078125, 0.020751953125, 0.0201416015625, 0.02001953125, 0.0157470703125, 0.0205078125, 0.020263671875, 0.0203857421875, 0.020263671875, 0.019775390625, 0.048095703125, 0.0203857421875, 0.024658203125, 0.08203125, 0.020263671875, 0.01953125, 0.020263671875, 0.014892578125, 0...
3046efb5-de3a-5bf7-82ef-7dafcefd30d4
10,458
0
Title: Is there a "Set" data structure in .Net? Ideally, I'm looking for a templated logical Set class. It would have all of the standard set operations such as Union, Intersection, Etc., and collapse duplicated items. I ended up creating my own set class based on the C# Dictionary<>- just using the Keys.
75
86
[ "c#" ]
[ "c#", "data-structures", "set" ]
{"accepted_answer_id":null,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T23:03:42.253000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["c#"],"last_activity_date":"2018-05-10T01:51:59.153000+00:00","last_edit_date":"2008-08-25T12:57:42.380000+00:00","...
[ 0.0330810546875, 0.0106353759765625, -0.0261077880859375, 0.03497314453125, 0.024810791015625, -0.00844573974609375, -0.0295257568359375, -0.00756072998046875, 0.0255126953125, 0.017486572265625, -0.0196075439453125, -0.0018453598022460938, 0.015472412109375, -0.0189056396484375, 0.02172...
[ 5, 7, 10, 23, 58, 70, 71, 100, 111, 126, 289, 294, 313, 756, 765, 2053, 2071, 2685, 2806, 3365, 3674, 4904, 5337, 5423, 5570, 10002, 16487, 17368, 18507, 19943, 24447, 26824, 32528, 35509, 41018, 41143, 45646, 48962, 55769, 58994, 62775...
[ 0.0654296875, 0.09619140625, 0.06787109375, 0.08056640625, 0.032958984375, 0.029296875, 0.0244140625, 0.04638671875, 0.03515625, 0.265625, 0.03759765625, 0.197265625, 0.00439453125, 0.0556640625, 0.05126953125, 0.1748046875, 0.06005859375, 0.07861328125, 0.0341796875, 0.0761718...
60bd26f2-0c43-5965-84ff-52bb304f8a85
10,531
0
Title: Using C# with OpenOffice through reflection I'm working on some code to paste into the currently active OpenOffice document directly from C#. I can't include any of the OpenOffice libraries, because we don't want to package them, so we're using reflection to get access to the OpenOffice API. My question invol...
170
208
[ "c#" ]
[ "c#", "reflection" ]
{"accepted_answer_id":null,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T00:36:01.600000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["c#"],"last_activity_date":"2010-03-15T13:12:36.737000+00:00","last_edit_date":"2010-03-15T13:10:15.493000+00:00","...
[ 0.000461578369140625, 0.004169464111328125, -0.007534027099609375, -0.00156402587890625, 0.0150146484375, -0.0094146728515625, 0.02215576171875, 0.0347900390625, 0.0216827392578125, 0.0141143798828125, -0.03692626953125, 0.005062103271484375, -0.00402069091796875, -0.0252532958984375, 0....
[ 47, 67, 121, 170, 257, 313, 345, 360, 678, 831, 939, 995, 1239, 1264, 1295, 1830, 2046, 2174, 3522, 3525, 3794, 3934, 4153, 4453, 4743, 4904, 5372, 6562, 6953, 8305, 9655, 10484, 12937, 13527, 17203, 17368, 18151, 19279, 20697, 20779, 2...
[ 0.038818359375, 0.0908203125, 0.06640625, 0.1025390625, 0.0966796875, 0.00830078125, 0.06689453125, 0.01171875, 0.080078125, 0.0162353515625, 0.0205078125, 0.1142578125, 0.06494140625, 0.107421875, 0.043701171875, 0.15234375, 0.00927734375, 0.005126953125, 0.0888671875, 0.06152...
496375ec-0c4e-5a47-b42f-0aded551ec42
10,644
0
Title: Any decent C# profilers out there? I need a C# profiler. Although I'm not averse to paying for one, something which is free or at least with a trial version would be ideal since it takes time to raise a purchase order. Any recommendations?
60
60
[ ".net", "c#" ]
[ "c#", ".net", "profiling", "profiler" ]
{"accepted_answer_id":10655,"answer_count":19,"chunk_count":1,"chunk_index":0,"closed_date":"2012-10-08T10:23:51.770000+00:00","creation_date":"2008-08-14T03:52:55.553000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2017-07-02T23:08:00.597000+00:00","last_edit_date"...
[ 0.0234527587890625, -0.021331787109375, -0.01031494140625, 0.00299072265625, 0.01361083984375, -0.01461029052734375, -0.029815673828125, 0.00872039794921875, 0.0223846435546875, -0.02545166015625, -0.04974365234375, -0.0149078369140625, 0.0372314453125, -0.0124359130859375, 0.02215576171...
[ 7, 8, 10, 32, 83, 87, 100, 313, 678, 1632, 1733, 1810, 2685, 2806, 3871, 4092, 4904, 6397, 9844, 11389, 12989, 16797, 19713, 28541, 37676, 48962, 51776, 59038, 105609, 110324, 138804, 161474, 209236 ]
[ 0.166015625, 0.06103515625, 0.115234375, 0.001953125, 0.005615234375, 0.02392578125, 0.0211181640625, 0.111328125, 0.0546875, 0.06298828125, 0.0302734375, 0.0703125, 0.111328125, 0.0302734375, 0.140625, 0.1416015625, 0.267578125, 0.125, 0.0274658203125, 0.107421875, 0.1083984...
bf62e642-0301-5e12-8a54-cf600b7ed07c
10,658
0
Title: Creating iCal Files in c# I'm looking for a good method of generating an iCalendar file (*.ics) in c# (asp.net). I've found a couple resources, but one thing that has been lacking is their support for quoted-printable fields - fields that have carriage returns and line feeds. For example, if the description f...
125
153
[ "c#" ]
[ "c#", "asp.net", "icalendar" ]
{"accepted_answer_id":null,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T04:07:36.150000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["c#"],"last_activity_date":"2018-01-09T23:12:28.137000+00:00","last_edit_date":"2011-11-18T05:14:35.897000+00:00","...
[ -0.005550384521484375, -0.0202789306640625, 0.004131317138671875, 0.01641845703125, -0.01617431640625, 0.0008635520935058594, -0.02703857421875, 0.006877899169921875, 0.001667022705078125, 0.01248931884765625, -0.0281219482421875, 0.005611419677734375, 0.033050537109375, -0.03692626953125,...
[ 5, 7, 17, 21, 22, 23, 33, 70, 71, 100, 162, 254, 429, 501, 661, 1179, 1506, 1651, 1916, 2258, 2886, 4127, 4677, 4904, 5117, 8060, 10588, 11435, 12663, 13315, 16487, 18507, 28021, 30646, 35662, 40899, 41324, 42724, 44116, 44457, 48962, ...
[ 0.064453125, 0.000732421875, 0.109375, 0.07177734375, 0.032958984375, 0.0703125, 0.1640625, 0.03466796875, 0.0537109375, 0.011962890625, 0.0218505859375, 0.09228515625, 0.03759765625, 0.06982421875, 0.0078125, 0.109375, 0.177734375, 0.162109375, 0.0235595703125, 0.06884765625, ...
488bf5f0-ddb1-51e8-b037-8c95cb86caad
10,661
0
Title: Does the OutputCacheFilter in the Microsoft MVC Preview 4 actually save on action invocations? We deployed a live, fresh, swanky site using preview 3 including rigorous stress testing. Page Output caching was our saviour and afforded us the ability to meet our performance contractual requirements. My quest...
93
110
[ "c#" ]
[ "c#", "asp.net", "asp.net-mvc", "outputcache" ]
{"accepted_answer_id":11290,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T04:16:18.610000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2017-03-09T18:36:07.093000+00:00","last_edit_date":"2017-03-09T18:36:07.093000+00:00","...
[ -0.0210723876953125, -0.00949859619140625, 0.001903533935546875, -0.01218414306640625, 0.037750244140625, -0.015594482421875, -0.0229034423828125, 0.0501708984375, 0.0066680908203125, -0.01157379150390625, -0.00980377197265625, -0.012847900390625, 0.014068603515625, 0.013458251953125, 0....
[ 10, 56, 136, 138, 201, 276, 377, 379, 441, 479, 720, 919, 1764, 1914, 3501, 4271, 5256, 6867, 7077, 7244, 9191, 11405, 13158, 13538, 14231, 17721, 20653, 22631, 22751, 23356, 23718, 29188, 30098, 34639, 46994, 51913, 56349, 59207, 60212, ...
[ 0.00341796875, 0.0751953125, 0.0224609375, 0.080078125, 0.140625, 0.012451171875, 0.1416015625, 0.158203125, 0.0791015625, 0.09619140625, 0.125, 0.048583984375, 0.033203125, 0.10400390625, 0.0233154296875, 0.125, 0.013671875, 0.0576171875, 0.1728515625, 0.07763671875, 0.12695...
36f690b4-9ecc-52bf-b939-f54ba9002b21
10,670
0
Title: Asynchronous Remoting calls We have a remoting singleton server running in a separate windows service (let's call her RemotingService). The clients of the RemotingService are ASP.NET instances (many many). Currently, the clients remoting call RemotingService and blocks while the RemotingService call is servic...
272
316
[ ".net", "c#" ]
[ "c#", ".net-3.5", ".net-2.0", "remoting", "rpc" ]
{"accepted_answer_id":10714,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T04:35:16.810000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2012-08-11T15:44:43.557000+00:00","last_edit_date":null,"question_id":10670,"sco...
[ -0.018341064453125, -0.0059356689453125, -0.00554656982421875, -0.00293731689453125, 0.01558685302734375, -0.045318603515625, -0.00989532470703125, 0.0197906494140625, 0.0137939453125, 0.01025390625, -0.0343017578125, -0.0008058547973632812, 0.032867431640625, 0.01415252685546875, 0.0021...
[ 10, 56, 62, 237, 254, 432, 604, 627, 853, 959, 1179, 1257, 1286, 1507, 1733, 1916, 4092, 4488, 4516, 4989, 5299, 5426, 5526, 5701, 5885, 5941, 7311, 7464, 10723, 11001, 11249, 11782, 12233, 12638, 12654, 17777, 19361, 19802, 20174, 20949,...
[ 0.07080078125, 0.0673828125, 0.05322265625, 0.0206298828125, 0.1123046875, 0.154296875, 0.050048828125, 0.046142578125, 0.091796875, 0.0198974609375, 0.095703125, 0.06689453125, 0.007080078125, 0.1591796875, 0.083984375, 0.1220703125, 0.0927734375, 0.0849609375, 0.107421875, 0....
edfee412-51fd-5cb2-ba48-90d8ccbcdbe4
10,810
0
Title: Why do I get the error "Unable to update the password" when calling AzMan? I'm doing a authorization check from a WinForms application with the help of the AzMan authorization provider from Enterprise Library and am receiving the the following error: Unable to update the password. The value provided as the ...
236
253
[ "c#" ]
[ "c#", "winforms", "authorization", "adam", "azman" ]
{"accepted_answer_id":12106,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T08:38:24.760000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2014-12-13T07:40:56.867000+00:00","last_edit_date":"2014-12-13T07:40:56.867000+00:00","...
[ 0.0109100341796875, -0.020050048828125, 0.0136260986328125, -0.0035839080810546875, 0.016632080078125, -0.007049560546875, 0.00937652587890625, 0.0008187294006347656, 0.006195068359375, 0.0017108917236328125, -0.033050537109375, -0.018524169921875, 0.0196990966796875, -0.0174560546875, 0...
[ 4, 5, 7, 12, 15, 16, 23, 27, 47, 53, 54, 62, 70, 71, 83, 87, 90, 98, 111, 136, 237, 272, 297, 304, 425, 444, 450, 571, 572, 581, 621, 757, 765, 903, 939, 959, 992, 1155, 1284, 1295, 1556, 1577, 2046, 2146, 2886, 2967, 3525, ...
[ 0.0155029296875, 0.01611328125, 0.07275390625, 0.0150146484375, 0.013916015625, 0.015380859375, 0.0152587890625, 0.027587890625, 0.0908203125, 0.0152587890625, 0.016357421875, 0.0478515625, 0.0634765625, 0.01513671875, 0.0159912109375, 0.0230712890625, 0.014404296875, 0.01440429687...
a6f94499-7a76-5714-b396-af91be289cdd
10,855
0
Title: LINQ query on a DataTable I'm trying to perform a LINQ query on a DataTable object and bizarrely I am finding that performing such queries on DataTables is not straightforward. For example: var results = from myRow in myDataTable where results.Field("RowNo") == 1 select results; This is not allowed. How do ...
99
119
[ ".net", "c#" ]
[ "c#", ".net", "linq", "datatable", ".net-3.5" ]
{"accepted_answer_id":11593,"answer_count":22,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T10:08:27.123000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2022-09-29T08:26:32.003000+00:00","last_edit_date":"2014-07-04T20:44:08.617000+...
[ 0.014617919921875, -0.0095062255859375, -0.0180511474609375, -0.01100921630859375, 0.007762908935546875, -0.01552581787109375, 0.00800323486328125, -0.00860595703125, -0.00788116455078125, 0.010467529296875, -0.0114288330078125, 0.0160064697265625, -0.0197296142578125, 0.006526947021484375...
[ 23, 38, 41, 83, 98, 106, 285, 434, 618, 621, 759, 959, 1294, 1295, 1884, 2203, 2472, 2737, 2886, 3293, 5021, 6044, 10484, 11809, 12724, 19364, 19388, 19736, 20697, 31577, 36746, 36849, 46610, 48962, 50339, 51339, 69112, 80560, 90791, 1070...
[ 0.0048828125, 0.015625, 0.1630859375, 0.0235595703125, 0.0908203125, 0.047607421875, 0.1748046875, 0.11328125, 0.162109375, 0.0205078125, 0.048095703125, 0.09375, 0.1337890625, 0.04150390625, 0.0068359375, 0.009033203125, 0.03564453125, 0.240234375, 0.2041015625, 0.019287109375...
09afdf2b-3f41-5043-8c72-c7924bbb7edf
10,901
0
Title: Future proofing a large UI Application - MFC with 2008 Feature pack, or C# and Winforms? My company has developed a long standing product using MFC in Visual C++ as the defacto standard for UI development. Our codebase contains ALOT of legacy/archaic code which must be kept operational. Some of this code is old...
385
407
[ "c#", "c++" ]
[ "c#", "c++", "winforms", "mfc", "user-interface" ]
{"accepted_answer_id":11004,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T11:26:02.733000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#","c++"],"last_activity_date":"2009-02-25T22:41:07.390000+00:00","last_edit_date":"2008-08-17T02:00:20.867000+00...
[ 0.02593994140625, -0.0228118896484375, -0.0171661376953125, 0.00801849365234375, 0.0011119842529296875, 0.003398895263671875, 0.01027679443359375, 0.033599853515625, 0.0241851806640625, -0.0004680156707763672, -0.036834716796875, 0.010406494140625, 0.02581787109375, -0.002349853515625, 0...
[ 4, 5, 6, 7, 8, 10, 13, 15, 16, 18, 20, 23, 25, 31, 32, 38, 39, 47, 53, 62, 64, 70, 71, 83, 87, 90, 98, 100, 107, 111, 136, 142, 163, 186, 206, 214, 221, 237, 276, 289, 297, 313, 390, 442, 450, 502, 525, 538, 581, 601, ...
[ 0.0284423828125, 0.01953125, 0.0286865234375, 0.1748046875, 0.06884765625, 0.0281982421875, 0.027099609375, 0.0269775390625, 0.02734375, 0.0228271484375, 0.0009765625, 0.0279541015625, 0.0274658203125, 0.027587890625, 0.008544921875, 0.00244140625, 0.02392578125, 0.0274658203125, ...
aece6ee3-d493-539a-9b78-9ac275410797
10,905
0
Title: Can you use generic forms in C#? You should be able to create a generic form: public partial class MyGenericForm<T> : Form where T : class { /* form code */ public List<T> TypedList { get; set; } } Is valid C#, and compiles. However the designer won't work and the form will throw a runtime excep...
120
130
[ ".net", "c#" ]
[ "c#", ".net", "winforms" ]
{"accepted_answer_id":10907,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T11:30:54.970000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2025-07-10T17:05:33.877000+00:00","last_edit_date":"2013-07-05T07:21:57.760000+0...
[ 0.0142974853515625, 0.01364898681640625, -0.0024776458740234375, 0.013946533203125, 0.0206451416015625, -0.0080108642578125, 0.001453399658203125, 0.0379638671875, 0.03631591796875, 0.036773681640625, -0.043426513671875, -0.004955291748046875, -0.00421142578125, -0.00937652587890625, 0.0...
[ 7, 10, 12, 18, 23, 32, 47, 70, 71, 74, 136, 248, 289, 313, 384, 398, 618, 1340, 2046, 2071, 2499, 2583, 2646, 2878, 3173, 3835, 4171, 4343, 4488, 4527, 4904, 5351, 5423, 5608, 6032, 7413, 7440, 8781, 9351, 9969, 10644, 11675, 12259,...
[ 0.123046875, 0.0048828125, 0.006103515625, 0.015869140625, 0.0947265625, 0.00537109375, 0.0322265625, 0.0181884765625, 0.0179443359375, 0.0238037109375, 0.044677734375, 0.00830078125, 0.028076171875, 0.07080078125, 0.0537109375, 0.046142578125, 0.046142578125, 0.1416015625, 0.063...
896a12ec-607e-52b7-a2b6-1e47caeabb1a
10,915
0
Title: Best way to model Many-To-One Relationships in NHibernate When Dealing With a Legacy DB? Warning - I am very new to NHibernate. I know this question seems simple - and I'm sure there's a simple answer, but I've been spinning my wheels for some time on this one. I am dealing with a legacy db which really can't b...
312
355
[ "c#" ]
[ "c#", "nhibernate" ]
{"accepted_answer_id":11164,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T11:56:29.550000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2012-08-11T15:51:17.700000+00:00","last_edit_date":null,"question_id":10915,"score":3,"...
[ 0.006908416748046875, 0.0179290771484375, 0.0184173583984375, -0.03167724609375, 0.006725311279296875, -0.005344390869140625, -0.0125885009765625, 0.0281219482421875, -0.00119781494140625, -0.0078582763671875, -0.04840087890625, 0.03143310546875, 0.0026874542236328125, -0.00071763992309570...
[ 67, 136, 188, 297, 669, 831, 1295, 1632, 1774, 2053, 2408, 2566, 2967, 3257, 3299, 3525, 3630, 3714, 3917, 4420, 4688, 4734, 5586, 5885, 5941, 6183, 7763, 8781, 11338, 11345, 11814, 12301, 15190, 15555, 16070, 16454, 17164, 18507, 18831, ...
[ 0.15625, 0.011962890625, 0.16796875, 0.0634765625, 0.09765625, 0.006103515625, 0.001708984375, 0.087890625, 0.1513671875, 0.048828125, 0.06396484375, 0.09765625, 0.09814453125, 0.150390625, 0.2216796875, 0.09375, 0.1376953125, 0.003173828125, 0.0576171875, 0.04541015625, 0.16...
4d0cb6a0-bb5d-5453-bbc7-19478f687703
10,949
0
Title: Unit tests for deep cloning Let's say I have a complex .NET class, with lots of arrays and other class object members. I need to be able to generate a deep clone of this object - so I write a Clone() method, and implement it with a simple BinaryFormatter serialize/deserialize - or perhaps I do the deep clone us...
275
312
[ ".net", "c#" ]
[ "c#", ".net", "unit-testing" ]
{"accepted_answer_id":null,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T12:49:03.440000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2015-06-30T13:03:59.227000+00:00","last_edit_date":"2008-08-23T20:00:05.047000+0...
[ 0.0019273757934570312, 0.046630859375, -0.01345062255859375, -0.0012331008911132812, 0.015777587890625, -0.01058197021484375, 0.0142822265625, -0.0015239715576171875, 0.018768310546875, -0.021270751953125, -0.0249786376953125, -0.00403594970703125, 0.003406524658203125, 0.016143798828125, ...
[ 18, 83, 86, 87, 100, 132, 147, 221, 502, 592, 756, 831, 959, 988, 1274, 1286, 1884, 2831, 2886, 2967, 3034, 3055, 3164, 3395, 3789, 3835, 3871, 4127, 5117, 5608, 7203, 8781, 9077, 10298, 14375, 14432, 14534, 17203, 17777, 18151, 18499, ...
[ 0.03173828125, 0.0673828125, 0.109375, 0.0242919921875, 0.01513671875, 0.03515625, 0.07421875, 0.051513671875, 0.003662109375, 0.10205078125, 0.0400390625, 0.009765625, 0.0751953125, 0.0771484375, 0.0206298828125, 0.0634765625, 0.0361328125, 0.07177734375, 0.06640625, 0.0505371...
eabc531c-b58d-597d-bbb8-9c96c1cebc19
11,194
0
Title: How can I conditionally apply a Linq operator? We're working on a Log Viewer. The use will have the option to filter by user, severity, etc. In the Sql days I'd add to the query string, but I want to do it with Linq. How can I conditionally add where-clauses?
70
77
[ "c#" ]
[ "c#", "linq", "linq-to-sql" ]
{"accepted_answer_id":11203,"answer_count":13,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T15:20:26.973000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2021-07-01T09:40:09.820000+00:00","last_edit_date":"2021-07-01T09:40:09.820000+00:00",...
[ 0.01280975341796875, -0.021392822265625, -0.003414154052734375, -0.002765655517578125, 0.01274871826171875, -0.026824951171875, -0.01474761962890625, 0.01873779296875, -0.0016088485717773438, -0.00547027587890625, -0.0222320556640625, 0.0245361328125, 0.021881103515625, 0.008880615234375, ...
[ 41, 47, 56, 87, 339, 390, 678, 831, 1294, 2481, 3444, 4527, 7440, 11249, 13146, 13312, 15190, 18347, 20697, 25958, 27708, 29001, 29805, 35431, 35829, 38937, 39933, 44982, 46312, 48962, 59911, 79315, 99247 ]
[ 0.055419921875, 0.009521484375, 0.031982421875, 0.01318359375, 0.12109375, 0.021484375, 0.036376953125, 0.0673828125, 0.040771484375, 0.0257568359375, 0.034423828125, 0.035400390625, 0.1787109375, 0.068359375, 0.1357421875, 0.07421875, 0.1337890625, 0.1435546875, 0.032470703125, ...
1e9988b8-4cfb-5662-adab-827ed19203fc
11,267
0
Title: ASP.NET UserControl's and DefaultEvent Outline OK, I have Google'd this and already expecting a big fat NO!! But I thought I should ask since I know sometimes there can be the odd little gem of knowledge lurking around in peoples heads ^_^ I am working my way through some excercises in a book for study, and...
295
331
[ "c#" ]
[ "c#", "asp.net", "user-controls", "attributes" ]
{"accepted_answer_id":11307,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T16:14:36.427000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2012-08-12T21:10:04.573000+00:00","last_edit_date":"2012-08-11T15:50:18.467000+00:00","...
[ 0.037384033203125, -0.00331878662109375, 0.0036449432373046875, 0.0021877288818359375, 0.005268096923828125, 0.00299072265625, -0.0435791015625, 0.032623291015625, 0.0012569427490234375, 0.02154541015625, -0.0255889892578125, -0.0031986236572265625, 0.004077911376953125, 0.02178955078125, ...
[ 10, 11, 28, 47, 83, 100, 136, 162, 214, 238, 262, 297, 418, 425, 619, 831, 1021, 1062, 1146, 1379, 1542, 1815, 1884, 2071, 2109, 2256, 2292, 2878, 3229, 3443, 3835, 3884, 4263, 5423, 5570, 6226, 7136, 7614, 7722, 8060, 9092, 9191, 9...
[ 0.00927734375, 0.0830078125, 0.036865234375, 0.006591796875, 0.00146484375, 0.015869140625, 0.0205078125, 0.0213623046875, 0.003173828125, 0.005615234375, 0.173828125, 0.095703125, 0.001953125, 0.12890625, 0.035400390625, 0.016845703125, 0.236328125, 0.0186767578125, 0.009765625,...
b7e1735e-a1c3-5a83-9155-e39887b1b883
11,288
0
Title: Sorting a composite collection So WPF doesn't support standard sorting or filtering behavior for views of CompositeCollections, so what would be a best practice for solving this problem. There are two or more object collections of different types. You want to combine them into a single sortable and filterabl...
263
301
[ ".net", "c#" ]
[ "c#", ".net", "wpf", "data-binding", "collections" ]
{"accepted_answer_id":23933,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T16:30:49.933000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2016-09-30T14:22:46.353000+00:00","last_edit_date":"2016-09-30T14:22:46.353000+0...
[ 0.01103973388671875, 0.0192413330078125, -0.0032749176025390625, 0.0245513916015625, 0.043914794921875, 0.01971435546875, -0.0201873779296875, 0.04864501953125, 0.0244293212890625, 0.017120361328125, 0.003925323486328125, 0.029510498046875, 0.01151275634765625, -0.0026111602783203125, 0....
[ 13, 18, 98, 170, 214, 304, 316, 375, 601, 759, 1286, 2053, 2646, 2806, 2886, 2965, 2967, 3115, 3288, 3444, 3525, 3545, 3934, 4343, 4488, 5256, 5303, 5570, 6496, 6626, 8060, 8996, 10644, 10770, 10846, 11001, 12096, 12921, 16912, 17497, 1...
[ 0.07373046875, 0.059326171875, 0.042724609375, 0.01123046875, 0.06884765625, 0.0264892578125, 0.103515625, 0.0810546875, 0.091796875, 0.005615234375, 0.043212890625, 0.0322265625, 0.07177734375, 0.001220703125, 0.11328125, 0.055908203125, 0.08203125, 0.07470703125, 0.0986328125, ...
9312d949-4224-5927-8acf-3dbf5dd5ef77
11,345
0
Title: XPATHS and Default Namespaces What is the story behind XPath and support for namespaces? Did XPath as a specification precede namespaces? If I have a document where elements have been given a default namespace: <foo xmlns="uri" /> It appears as though some of the XPath processor libraries won't recognize /...
202
244
[ "c#" ]
[ "c#", "xml", "xpath", "namespaces" ]
{"accepted_answer_id":149088,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T17:09:43.867000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2020-07-01T18:05:32.580000+00:00","last_edit_date":"2011-12-20T18:58:39.020000+00:00",...
[ 0.00543975830078125, -0.0118408203125, -0.013031005859375, 0.001636505126953125, 0.023193359375, -0.0139312744140625, -0.01338958740234375, 0.03729248046875, -0.0014352798461914062, -0.010223388671875, -0.0139923095703125, -0.01052093505859375, -0.0066375732421875, 0.0124359130859375, 0....
[ 7, 13, 18, 31, 110, 112, 136, 237, 262, 294, 618, 1021, 1162, 1193, 1328, 1542, 1779, 2096, 2886, 3355, 3584, 4027, 4332, 4488, 4666, 4745, 5570, 5885, 6044, 7136, 7175, 7237, 8060, 10519, 11678, 12937, 13765, 14543, 15190, 17368, 17569...
[ 0.0194091796875, 0.003662109375, 0.00048828125, 0.12890625, 0.0908203125, 0.0230712890625, 0.033935546875, 0.006591796875, 0.107421875, 0.039306640625, 0.0152587890625, 0.1865234375, 0.1025390625, 0.020263671875, 0.0517578125, 0.0966796875, 0.08837890625, 0.08740234375, 0.0815429...
39655cec-e300-5a3e-a548-128118584799
11,423
0
Title: How to host a WPF form in a MFC application I'm looking for any resources on hosting a WPF form within an existing MFC application. Can anyone point me in the right direction on how to do this?
50
50
[ "c#" ]
[ "c#", "wpf", "mfc" ]
{"accepted_answer_id":11428,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T18:04:45.237000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2018-07-25T20:40:02.203000+00:00","last_edit_date":"2014-12-09T14:12:32.860000+00:00","...
[ 0.0078887939453125, 0.0021514892578125, 0.0019044876098632812, -0.00806427001953125, 0.01464080810546875, -0.003047943115234375, 0.0191192626953125, 0.01451873779296875, 0.004062652587890625, -0.005764007568359375, -0.029754638671875, 0.01129150390625, 0.032989501953125, 0.008544921875, ...
[ 10, 23, 47, 54, 276, 601, 903, 3173, 3642, 6275, 7108, 11249, 16487, 27529, 27980, 28032, 38415, 41265, 48225, 48962, 65514, 70496, 144573 ]
[ 0.0272216796875, 0.04345703125, 0.023681640625, 0.012939453125, 0.0625, 0.1025390625, 0.021240234375, 0.2294921875, 0.042724609375, 0.023681640625, 0.005615234375, 0.0712890625, 0.026611328125, 0.203125, 0.189453125, 0.09716796875, 0.154296875, 0.265625, 0.03076171875, 0.014770...
08cccf07-de37-5a23-84e9-be234dfe7b53
11,516
0
Title: Variable Bindings in WPF I’m creating a UserControl for a rich TreeView (one that has context menus for renaming nodes, adding child nodes, etc.). I want to be able to use this control to manage or navigate any hierarchical data structures I will create. I currently have it working for any data structure that i...
279
328
[ "c#" ]
[ "c#", "wpf", "data-binding" ]
{"accepted_answer_id":12138,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T19:01:02.737000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2012-08-11T15:49:40.103000+00:00","last_edit_date":null,"question_id":11516,"score":5,"...
[ 0.01065826416015625, 0.011077880859375, 0.005840301513671875, 0.01078033447265625, 0.004283905029296875, 0.006439208984375, -0.007785797119140625, 0.0295867919921875, 0.02264404296875, -0.00276947021484375, -0.0229949951171875, 0.0179595947265625, 0.0152740478515625, -0.00766754150390625, ...
[ 7, 13, 23, 47, 56, 107, 110, 111, 133, 568, 601, 988, 1022, 1264, 1791, 1843, 1884, 2046, 2053, 2606, 2646, 2661, 2886, 2967, 2982, 3115, 3444, 3835, 3871, 4527, 5423, 6226, 8026, 9351, 10752, 12638, 12921, 13025, 14578, 15757, 16882, ...
[ 0.015869140625, 0.05859375, 0.0291748046875, 0.087890625, 0.0712890625, 0.1103515625, 0.0859375, 0.012451171875, 0.0498046875, 0.021484375, 0.091796875, 0.0228271484375, 0.0517578125, 0.12109375, 0.059814453125, 0.1748046875, 0.05078125, 0.06494140625, 0.083984375, 0.1083984375...
0b2a767c-b1b3-5d40-ad98-cf1c52b9a270
11,585
0
Title: Clearing Page Cache in ASP.NET For my blog I am wanting to use the Output Cache to save a cached version of a perticular post for around 10 minutes, and thats fine... <%@OutputCache Duration="600" VaryByParam="*" %> However, if someone posts a comment, I want to clear the cache so that the page is refreshed...
103
110
[ "c#" ]
[ "c#", "asp.net", "outputcache" ]
{"accepted_answer_id":11641,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T19:39:32.033000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2024-04-23T10:23:45.910000+00:00","last_edit_date":"2010-06-01T05:55:58.433000+00:00","...
[ -0.0128936767578125, 0.0106201171875, -0.004917144775390625, 0.01355743408203125, 0.0304718017578125, -0.0031642913818359375, -0.0200347900390625, 0.0350341796875, -0.0004911422729492188, 0.00563812255859375, -0.0114593505859375, -0.01103973388671875, -0.006656646728515625, -0.004379272460...
[ 10, 23, 47, 54, 70, 71, 100, 117, 118, 209, 214, 221, 313, 441, 831, 903, 1305, 1415, 1430, 2041, 2174, 3323, 3444, 4527, 4904, 5885, 6868, 7077, 9191, 10715, 10932, 11249, 11389, 13538, 14231, 14633, 17777, 22008, 24447, 25667, 30098, ...
[ 0.006103515625, 0.0546875, 0.041259765625, 0.037353515625, 0.0308837890625, 0.0498046875, 0.0869140625, 0.017822265625, 0.0576171875, 0.10400390625, 0.0830078125, 0.0140380859375, 0.005615234375, 0.02880859375, 0.0213623046875, 0.047119140625, 0.103515625, 0.09423828125, 0.204101...
13416858-b475-5a8d-b76f-1d4f6b6277c3
11,632
0
Title: What are the most important functional differences between C# and VB.NET? Certainly there's the difference in general syntax, but what other critical distinctions exist? There are some differences, right?
41
50
[ "c#", "vb.net" ]
[ "c#", "vb.net", "comparison" ]
{"accepted_answer_id":11663,"answer_count":14,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T19:59:40.090000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#","vb.net"],"last_activity_date":"2015-02-11T01:21:02.683000+00:00","last_edit_date":null,"question_id":11632,"...
[ 0.019012451171875, -0.0093231201171875, -0.027374267578125, 0.01117706298828125, 0.0396728515625, -0.0137481689453125, -0.01708984375, 0.0234222412109375, 0.003047943115234375, 0.00579833984375, -0.04827880859375, 0.006572723388671875, 0.008544921875, 0.004154205322265625, 0.024627685546...
[ 5, 7, 70, 136, 313, 1779, 2684, 3060, 3789, 4537, 4904, 5526, 6002, 7108, 17721, 17777, 32316, 48962, 60212, 75034, 86531, 123309, 130306, 149067 ]
[ 0.054443359375, 0.058837890625, 0.03125, 0.1162109375, 0.1064453125, 0.0294189453125, 0.0693359375, 0.005859375, 0.0220947265625, 0.1015625, 0.224609375, 0.1064453125, 0.10009765625, 0.0302734375, 0.07177734375, 0.22265625, 0.051513671875, 0.014892578125, 0.1962890625, 0.267578...
0175b60e-34c5-5647-963c-35bd2294df7a
11,762
0
Title: Why does a bad password cause "Padding is invalid and cannot be removed"? I needed some simple string encryption, so I wrote the following code (with a great deal of "inspiration" from here): // create and initialize a crypto algorithm private static SymmetricAlgorithm getAlgorithm(string password) { ...
636
743
[ ".net", "c#" ]
[ "c#", ".net", "exception", "encryption" ]
{"accepted_answer_id":26283,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T23:14:38.823000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2017-11-04T22:32:27.143000+00:00","last_edit_date":"2017-05-08T19:03:14.820000+0...
[ -0.00543975830078125, 0.0108795166015625, 0.0015583038330078125, 0.008056640625, 0.023529052734375, -0.001926422119140625, -0.039520263671875, 0.00121307373046875, 0.005527496337890625, -0.0156402587890625, -0.042572021484375, 0.00508880615234375, -0.00864410400390625, -0.0303497314453125,...
[ 8, 21, 22, 39, 47, 73, 83, 133, 136, 186, 304, 390, 418, 583, 587, 645, 678, 757, 758, 1127, 1342, 1549, 1552, 1830, 1974, 2046, 2053, 2806, 2975, 3285, 3882, 4034, 4127, 4488, 4657, 4843, 5885, 6494, 6504, 7763, 8335, 8781, 8962, ...
[ 0.1337890625, 0.031005859375, 0.0341796875, 0.042724609375, 0.03515625, 0.049560546875, 0.09765625, 0.0908203125, 0.053955078125, 0.0223388671875, 0.04150390625, 0.00830078125, 0.0078125, 0.055419921875, 0.02294921875, 0.08447265625, 0.0439453125, 0.0269775390625, 0.0157470703125...
a9de1628-d487-5033-b819-f0df43805417
11,767
0
Title: Browse for a directory in C# How can I present a control to the user that allows him/her to select a directory? There doesn't seem to be any native .net controls which do this?
45
53
[ ".net", "c#" ]
[ "c#", ".net", "directory" ]
{"accepted_answer_id":11775,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T23:18:52.543000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2024-07-10T09:58:33.823000+00:00","last_edit_date":"2018-10-23T10:52:28.040000+0...
[ 0.0031604766845703125, -0.019012451171875, -0.00974273681640625, -0.01222991943359375, -0.0160675048828125, -0.00939178466796875, -0.01535797119140625, 0.0297698974609375, 0.009979248046875, -0.0028209686279296875, -0.0218505859375, -0.0087432861328125, 0.048919677734375, -0.01382446289062...
[ 5, 10, 23, 24, 47, 53, 54, 100, 184, 313, 335, 450, 831, 903, 1179, 3334, 4049, 4904, 4935, 6226, 11249, 13379, 14364, 15555, 36849, 38937, 48903, 48962, 114864 ]
[ 0.0009765625, 0.0228271484375, 0.0439453125, 0.04931640625, 0.0673828125, 0.1416015625, 0.00830078125, 0.130859375, 0.12109375, 0.045166015625, 0.017822265625, 0.01123046875, 0.027587890625, 0.0537109375, 0.1474609375, 0.0576171875, 0.03759765625, 0.1884765625, 0.0947265625, 0....
255867ad-f8c5-569a-a127-7c8a922b7c7f
11,804
0
Title: Returning Large Results Via a Webservice I'm working on a web service at the moment and there is the potential that the returned results could be quite large ( > 5mb). It's perfectly valid for this set of data to be this large and the web service can be called either sync or async, but I'm wondering what peo...
179
189
[ ".net", "c#" ]
[ "c#", ".net", "web-services" ]
{"accepted_answer_id":920922,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T00:08:15.533000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2013-04-11T08:24:05.390000+00:00","last_edit_date":"2008-08-23T19:09:16.730000+...
[ 0.0060577392578125, -0.0021610260009765625, 0.00264739990234375, -0.0060577392578125, -0.00540924072265625, -0.02752685546875, -0.0096435546875, 0.035064697265625, 0.01776123046875, 0.0172882080078125, -0.0230560302734375, 0.01611328125, 0.03436279296875, -0.01229095458984375, 0.00336647...
[ 54, 83, 126, 186, 190, 214, 238, 456, 765, 831, 903, 977, 1467, 2053, 2109, 2174, 3095, 3395, 3564, 3917, 4002, 4263, 4343, 4516, 5423, 5809, 6002, 6492, 7026, 7839, 9325, 10723, 11522, 11902, 12654, 13438, 15502, 15537, 16750, 20697, 2...
[ 0.000244140625, 0.04052734375, 0.189453125, 0.037353515625, 0.091796875, 0.1201171875, 0.1181640625, 0.00634765625, 0.0301513671875, 0.0140380859375, 0.07958984375, 0.028076171875, 0.0927734375, 0.13671875, 0.05224609375, 0.0712890625, 0.06787109375, 0.06787109375, 0.05859375, ...
5e54c641-fe92-50a5-becb-e5e9eb5ef35a
11,806
0
Title: How do you impersonate an Active Directory user in Powershell? I'm trying to run powershell commands through a web interface (ASP.NET/C#) in order to create mailboxes/etc on Exchange 2007. When I run the page using Visual Studio (Cassini), the page loads up correctly. However, when I run it on IIS (v5.1), I get...
326
427
[ "c#", "powershell" ]
[ "c#", "asp.net", "powershell", "active-directory" ]
{"accepted_answer_id":448051,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T00:09:16.407000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#","powershell"],"last_activity_date":"2009-09-30T18:35:51.107000+00:00","last_edit_date":"2009-03-10T02:24:30.7...
[ -0.049713134765625, -0.01020050048828125, -0.00652313232421875, 0.0031833648681640625, 0.0201568603515625, 0.005161285400390625, 0.006366729736328125, 0.00405120849609375, 0.016815185546875, -0.0023956298828125, -0.026092529296875, -0.016204833984375, 0.02423095703125, -0.00267410278320312...
[ 23, 53, 54, 142, 162, 170, 237, 294, 309, 398, 566, 678, 707, 765, 903, 995, 1257, 1434, 1467, 1810, 1884, 1995, 2060, 2182, 2256, 2967, 4028, 4153, 4904, 5234, 6494, 6648, 7940, 8305, 9059, 9191, 9351, 9434, 10957, 11249, 11675, 1172...
[ 0.0169677734375, 0.107421875, 0.05712890625, 0.0078125, 0.034912109375, 0.042724609375, 0.0869140625, 0.09228515625, 0.0615234375, 0.0126953125, 0.1552734375, 0.08203125, 0.07275390625, 0.008056640625, 0.0009765625, 0.034423828125, 0.004150390625, 0.002685546875, 0.0478515625, ...
e8569aab-5b64-54d0-a755-2b2ce283ae5b
11,926
0
Title: ASP.Net MVC route mapping I'm new to MVC (and ASP.Net routing). I'm trying to map *.aspx to a controller called PageController. routes.MapRoute( "Page", "{name}.aspx", new { controller = "Page", action = "Index", id = "" } ); Wouldn't the code above map *.aspx to PageController? When I run this an...
142
156
[ "c#" ]
[ "c#", "asp.net", "asp.net-mvc", "routes" ]
{"accepted_answer_id":11957,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T03:25:31.657000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2019-03-19T12:09:06.123000+00:00","last_edit_date":"2019-03-19T12:09:06.123000+00:00","...
[ -0.015655517578125, -0.0006623268127441406, -0.0026950836181640625, -0.021942138671875, 0.0109100341796875, 0.01047515869140625, -0.0374755859375, 0.03326416015625, -0.004436492919921875, 0.00733184814453125, -0.0243988037109375, -0.0173797607421875, 0.01558685302734375, 0.03326416015625, ...
[ 5, 47, 64, 70, 87, 100, 276, 291, 603, 661, 903, 959, 1720, 1916, 3447, 3525, 5809, 6743, 9191, 10644, 11627, 11675, 12724, 14037, 14231, 14602, 18151, 18499, 20594, 22288, 22629, 22631, 24447, 25632, 26783, 29089, 29479, 31577, 36439, 36...
[ 0.0234375, 0.0791015625, 0.021484375, 0.051513671875, 0.1171875, 0.024169921875, 0.061767578125, 0.13671875, 0.2021484375, 0.043701171875, 0.001220703125, 0.0869140625, 0.019287109375, 0.010009765625, 0.0732421875, 0.08544921875, 0.072265625, 0.130859375, 0.1044921875, 0.115234...
9fd56aea-1fcf-58e0-be1b-71d9947e7d9c
12,045
0
Title: Unit testing a timer based application? I am currently writing a simple, timer-based mini app in C# that performs an action n times every k seconds. I am trying to adopt a test-driven development style, so my goal is to unit-test all parts of the app. So, my question is: Is there a good way to unit test a ti...
176
188
[ ".net", "c#" ]
[ "c#", ".net", "unit-testing", "timer" ]
{"accepted_answer_id":12054,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T07:02:45.993000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2024-02-11T06:57:32.660000+00:00","last_edit_date":"2023-05-22T15:11:05.160000+0...
[ 0.009185791015625, 0.032501220703125, -0.0164794921875, 0.0018100738525390625, 0.02154541015625, -0.0087127685546875, -0.018951416015625, 0.004856109619140625, 0.0187225341796875, -0.0080108642578125, -0.030853271484375, -0.006534576416015625, 0.0138397216796875, -0.0170745849609375, 0.0...
[ 10, 23, 47, 92, 110, 277, 313, 472, 653, 756, 1733, 2053, 2967, 3034, 3917, 4027, 4127, 4904, 4989, 5646, 6954, 6957, 7665, 8110, 8698, 8781, 9655, 10512, 11907, 14012, 17368, 17883, 18507, 20028, 20187, 20623, 21991, 22631, 25072, 30666,...
[ 0.0142822265625, 0.01025390625, 0.00927734375, 0.1083984375, 0.05029296875, 0.002197265625, 0.031005859375, 0.1025390625, 0.039306640625, 0.0263671875, 0.125, 0.0654296875, 0.1376953125, 0.28125, 0.057861328125, 0.1435546875, 0.091796875, 0.1591796875, 0.09033203125, 0.05102539...
38670a7e-aab3-594c-b4ae-44060307c104
12,051
0
Title: Calling the base constructor in C# If I inherit from a base class and want to pass something from the constructor of the inherited class to the constructor of the base class, how do I do that? For example, if I inherit from the Exception class I want to do something like this: class MyExceptionClass : Excep...
124
135
[ ".net", "c#" ]
[ "c#", ".net", "inheritance", "constructor" ]
{"accepted_answer_id":12052,"answer_count":10,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T07:39:23.097000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2024-06-03T07:34:06.300000+00:00","last_edit_date":"2020-02-26T21:01:16.483000+...
[ -0.0125579833984375, 0.01172637939453125, -0.00012743473052978516, -0.00562286376953125, 0.0175018310546875, -0.0302276611328125, 0.0172576904296875, 0.0126190185546875, 0.006633758544921875, 0.035003662109375, -0.03521728515625, -0.0017261505126953125, -0.00746917724609375, -0.01392364501...
[ 7, 16, 23, 47, 54, 70, 111, 214, 217, 313, 429, 450, 748, 756, 903, 1295, 1326, 1884, 2367, 2646, 3334, 3444, 3642, 3647, 3674, 3835, 4173, 4904, 5443, 6817, 9844, 12506, 18507, 19048, 19279, 26008, 26265, 27875, 34955, 48962, 51912, ...
[ 0.011474609375, 0.002197265625, 0.0908203125, 0.1123046875, 0.042724609375, 0.0281982421875, 0.006591796875, 0.052490234375, 0.1103515625, 0.03759765625, 0.037353515625, 0.017578125, 0.1552734375, 0.0186767578125, 0.00390625, 0.095703125, 0.0213623046875, 0.026611328125, 0.006103...
a96d9f86-caf0-54dc-96d9-c532cd0c17c5
12,135
0
Title: FileNotFoundException for mscorlib.XmlSerializers.DLL, which doesn't exist I'm using an XmlSerializer to deserialize a particular type in mscorelib.dll XmlSerializer ser = new XmlSerializer( typeof( [.Net type in System] ) ); return ([.Net type in System]) ser.Deserialize( new StringReader( xmlValue ) ); Th...
623
774
[ ".net", "c#" ]
[ "c#", ".net", "serialization", "assemblies" ]
{"accepted_answer_id":12160,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T11:03:30.157000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2011-03-30T11:36:50.220000+00:00","last_edit_date":"2009-04-25T11:23:24.013000+0...
[ 0.0011072158813476562, 0.0010776519775390625, -0.0179443359375, -0.0025997161865234375, 0.0290069580078125, -0.01045989990234375, 0.006122589111328125, 0.03802490234375, -0.0003955364227294922, 0.008087158203125, -0.0243682861328125, -0.0187835693359375, 0.00707244873046875, -0.00421905517...
[ 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 23, 25, 42, 47, 53, 56, 64, 70, 71, 83, 87, 99, 100, 110, 111, 132, 186, 214, 224, 237, 238, 268, 275, 282, 289, 297, 334, 360, 391, 397, 425, 441, 520, 581, 647, 683, ...
[ 0.00732421875, 0.00732421875, 0.00732421875, 0.00732421875, 0.1357421875, 0.007080078125, 0.007568359375, 0.007080078125, 0.0068359375, 0.0615234375, 0.0068359375, 0.0068359375, 0.006591796875, 0.03369140625, 0.007568359375, 0.007080078125, 0.005859375, 0.0048828125, 0.0063476562...
4e2d31b7-3d4f-551f-815b-859c24c82a64
12,306
0
Title: Can I serialize a C# Type object? I'm trying to serialize a Type object in the following way: Type myType = typeof (StringBuilder); var serializer = new XmlSerializer(typeof(Type)); TextWriter writer = new StringWriter(); serializer.Serialize(writer, myType); When I do this, the call to Serialize throws the...
138
188
[ "c#" ]
[ "c#", "serialization" ]
{"accepted_answer_id":12342,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T14:46:07.687000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2023-06-01T13:36:18.857000+00:00","last_edit_date":"2013-04-11T08:13:15.997000+00:00","...
[ -0.0036029815673828125, 0.0164031982421875, -0.0020503997802734375, 0.01332855224609375, 0.0167694091796875, -0.0159149169921875, 0.003391265869140625, 0.032318115234375, 0.0283355712890625, 0.0214691162109375, -0.0244903564453125, 0.012542724609375, -0.0098876953125, -0.00801849365234375,...
[ 47, 56, 87, 163, 214, 285, 313, 759, 959, 1061, 1193, 2203, 2631, 2783, 3917, 4171, 4233, 4390, 4904, 7237, 10135, 10644, 11782, 12353, 13254, 18507, 18929, 20650, 23351, 23550, 24129, 25435, 29786, 31577, 35686, 36746, 36836, 40140, 48962,...
[ 0.001953125, 0.10546875, 0.06103515625, 0.0206298828125, 0.078125, 0.10546875, 0.03564453125, 0.0927734375, 0.0830078125, 0.09228515625, 0.0625, 0.00830078125, 0.12109375, 0.036865234375, 0.0859375, 0.12109375, 0.0255126953125, 0.22265625, 0.169921875, 0.1708984375, 0.0766601...
d309c2e6-4f36-522c-8917-2280a246853e
12,671
0
Title: How can I pass data from an aspx page to an ascx modal popup? I'm fairly new to ASP.NET and trying to learn how things are done. I come from a C# background so the code-behind portion is easy, but thinking like a web developer is unfamiliar. I have an aspx page that contains a grid of checkboxes. I have a but...
242
280
[ "c#" ]
[ "c#", "asp.net", "asp.net-ajax" ]
{"accepted_answer_id":12700,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T20:01:23.010000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2010-04-27T09:49:14.357000+00:00","last_edit_date":"2008-09-19T22:35:29.463000+00:00","...
[ 0.0027923583984375, -0.01544952392578125, -0.0087890625, -0.013427734375, 0.003757476806640625, 0.00112152099609375, 0.0010251998901367188, 0.023162841796875, -0.00531768798828125, 0.052276611328125, -0.01021575927734375, 0.006298065185546875, 0.02459716796875, -0.01045989990234375, 0.01...
[ 18, 47, 237, 238, 425, 831, 1284, 1295, 1467, 2037, 2046, 2053, 3525, 4439, 4904, 5303, 5701, 6226, 6626, 7146, 7426, 8306, 9191, 9803, 11249, 11476, 11720, 11728, 11782, 12765, 15555, 16138, 16940, 17777, 18151, 18158, 19279, 19732, 22027,...
[ 0.0556640625, 0.0693359375, 0.06298828125, 0.048828125, 0.169921875, 0.052001953125, 0.0126953125, 0.006103515625, 0.0029296875, 0.1728515625, 0.043212890625, 0.1748046875, 0.0279541015625, 0.0654296875, 0.1142578125, 0.064453125, 0.008544921875, 0.1689453125, 0.06591796875, 0....
407759c4-e3ef-5137-89d4-0c41c0bcfaa9
12,702
0
Title: Returning DataTables in WCF/.NET I have a WCF service from which I want to return a DataTable. I know that this is often a highly-debated topic, as far as whether or not returning DataTables is a good practice. Let's put that aside for a moment. When I create a DataTable from scratch, as below, there are no p...
316
388
[ ".net", "c#" ]
[ "c#", ".net", "wcf", "web-services", "datatable" ]
{"accepted_answer_id":42332,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T20:26:01.447000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2016-12-19T04:49:58.767000+00:00","last_edit_date":"2015-07-25T21:48:51.883000+0...
[ -0.0149383544921875, 0.01001739501953125, -0.00385284423828125, 0.00489044189453125, 0.01511383056640625, -0.037933349609375, 0.004566192626953125, 0.00592803955078125, 0.01410675048828125, 0.01849365234375, -0.0149383544921875, 0.01256561279296875, 0.00589752197265625, 0.006134033203125, ...
[ 14, 17, 41, 64, 214, 316, 509, 538, 618, 678, 738, 756, 808, 856, 919, 1295, 1379, 1733, 1810, 2053, 2499, 2806, 2886, 3034, 3095, 3525, 3559, 3688, 3835, 3917, 4028, 4127, 4271, 4288, 4516, 5299, 5609, 5701, 5962, 6056, 6954, 7192, ...
[ 0.04833984375, 0.033935546875, 0.037353515625, 0.0233154296875, 0.095703125, 0.018310546875, 0.05224609375, 0.140625, 0.1884765625, 0.00927734375, 0.009033203125, 0.025390625, 0.0194091796875, 0.02392578125, 0.1806640625, 0.003173828125, 0.162109375, 0.0517578125, 0.1181640625, ...
0c2d047d-3b6b-551a-af42-71014ed98ab9
12,716
0
Title: Problems with #import of .NET out-of-proc server In C++ program, I am trying to #import TLB of .NET out-of-proc server. I get errors like: z:\server.tlh(111) : error C2146: syntax error : missing ';' before identifier 'GetType' z:\server.tlh(111) : error C2501: '_TypePtr' : missing storage-class or type...
324
353
[ "c#", "c++" ]
[ "c#", "c++", "com", "interop" ]
{"accepted_answer_id":12751,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T20:40:11.980000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#","c++"],"last_activity_date":"2020-04-11T19:21:54.590000+00:00","last_edit_date":"2020-06-20T09:12:55.060000+00...
[ 0.000046193599700927734, -0.0204315185546875, 0.00848388671875, 0.0036144256591796875, 0.018768310546875, -0.006992340087890625, 0.0162506103515625, 0.0276031494140625, 0.0218658447265625, 0.00824737548828125, -0.0244903564453125, -0.005077362060546875, -0.00322723388671875, -0.01105499267...
[ 5, 18, 97, 111, 126, 132, 170, 238, 310, 313, 468, 571, 617, 683, 707, 831, 841, 959, 995, 1340, 1528, 1810, 1884, 2053, 2256, 2357, 3117, 3454, 3559, 3564, 3647, 4390, 4448, 4989, 5612, 6002, 6305, 6495, 6936, 7763, 8108, 9185, 927...
[ 0.019775390625, 0.0390625, 0.06640625, 0.0791015625, 0.0498046875, 0.009521484375, 0.046875, 0.06494140625, 0.05126953125, 0.039306640625, 0.022216796875, 0.22265625, 0.126953125, 0.044677734375, 0.003662109375, 0.0235595703125, 0.1865234375, 0.00634765625, 0.0264892578125, 0.0...
110f2f7f-803f-5352-baf5-110b22ca3642
12,836
0
Title: C# Database Access: DBNull vs null We have our own ORM we use here, and provide strongly typed wrappers for all of our db tables. We also allow weakly typed ad-hoc SQL to be executed, but these queries still go through the same class for getting values out of a data reader. In tweaking that class to work with...
157
189
[ "c#" ]
[ "c#", "orm", "null", "dbnull" ]
{"accepted_answer_id":12935,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T22:23:21.490000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2012-08-11T16:08:55.237000+00:00","last_edit_date":"2012-08-11T16:08:32.270000+00:00","...
[ 0.022003173828125, -0.01265716552734375, -0.0111236572265625, -0.0185699462890625, 0.029815673828125, -0.0227203369140625, -0.0292205810546875, 0.03076171875, -0.0130157470703125, -0.0110015869140625, -0.035247802734375, 0.005619049072265625, -0.01153564453125, -0.0071868896484375, 0.015...
[ 5, 13, 41, 47, 83, 132, 180, 214, 344, 391, 497, 606, 642, 678, 707, 717, 756, 856, 1286, 1295, 1810, 2053, 2499, 3688, 4488, 4527, 4904, 5701, 7464, 8305, 8999, 9655, 10002, 10484, 10644, 11522, 15390, 17368, 17914, 18507, 20209, 209...
[ 0.08544921875, 0.001220703125, 0.045654296875, 0.02294921875, 0.045654296875, 0.00048828125, 0.011962890625, 0.0673828125, 0.08154296875, 0.1025390625, 0.046142578125, 0.02880859375, 0.0267333984375, 0.0634765625, 0.04736328125, 0.12109375, 0.000732421875, 0.1796875, 0.1201171875...
607c1db8-bfcd-5e41-97f3-899bc8e61ce2
13,060
0
Title: What do ref, val and out mean on method parameters? I'm looking for a clear, concise and accurate answer. Ideally as the actual answer, although links to good explanations welcome. This also applies to VB.Net, but the keywords are different - ByRef and ByVal.
62
70
[ ".net", "c#", "vb.net" ]
[ "c#", ".net", "vb.net" ]
{"accepted_answer_id":13100,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-16T08:46:16.633000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#","vb.net"],"last_activity_date":"2012-10-25T07:41:48.603000+00:00","last_edit_date":"2012-10-25T07:41:48...
[ 0.037109375, -0.00632476806640625, -0.0017766952514648438, 0.00281524658203125, 0.003055572509765625, -0.0284271240234375, 0.016265869140625, 0.020599365234375, 0.0034923553466796875, 0.0145111083984375, -0.046966552734375, 0.03564453125, 0.0144500732421875, -0.007465362548828125, 0.0210...
[ 4, 54, 98, 136, 318, 1810, 3311, 3502, 4865, 8561, 12921, 16487, 18831, 24447, 29459, 34735, 35166, 41143, 42272, 48962, 55300, 75034, 152018, 166117, 171859, 187136, 190015 ]
[ 0.0068359375, 0.053955078125, 0.07666015625, 0.05419921875, 0.06201171875, 0.271484375, 0.1142578125, 0.271484375, 0.0712890625, 0.0155029296875, 0.06201171875, 0.02880859375, 0.306640625, 0.126953125, 0.138671875, 0.08203125, 0.0478515625, 0.001220703125, 0.263671875, 0.003906...
8d943e25-ff88-55c4-a84c-ab305a821020
13,087
0
Title: How do I convert a date to a HTTP-formatted date in .Net / C# How does one convert a .Net DateTime into a valid HTTP-formatted date string?
39
44
[ ".net", "c#" ]
[ "c#", ".net", "http" ]
{"accepted_answer_id":null,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-16T10:33:42.033000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2019-12-17T13:20:00.380000+00:00","last_edit_date":"2008-09-17T07:59:10.220000+0...
[ 0.00157928466796875, -0.03424072265625, -0.049835205078125, 0.00838470458984375, -0.01476287841796875, 0.002819061279296875, -0.044403076171875, 0.0239715576171875, 0.006229400634765625, 0.01210784912109375, -0.006023406982421875, 0.001712799072265625, 0.02020263671875, -0.0439453125, 0....
[ 5, 9, 10, 47, 54, 87, 313, 1632, 3674, 3934, 4904, 5622, 11249, 14602, 24447, 25512, 35604, 48962, 51727, 70059, 79315, 96760, 135913 ]
[ 0.04296875, 0.00634765625, 0.02392578125, 0.0927734375, 0.05712890625, 0.051025390625, 0.01220703125, 0.039794921875, 0.05517578125, 0.091796875, 0.169921875, 0.203125, 0.0849609375, 0.052734375, 0.18359375, 0.1591796875, 0.14453125, 0.04638671875, 0.146484375, 0.244140625, 0...
05168272-26bd-5703-891b-e3fc2c4fdcd8
13,170
0
Title: A ThreadStateException occures when trying to restart a thread From time to time I get a System.Threading.ThreadStateException when attempting to restart a thread. The code in question is as follows: // Make sure the thread is done stopping while (this.mThread.ThreadState == ThreadState.Running) { Thread...
195
228
[ ".net", "c#" ]
[ "c#", ".net", "multithreading", "exception" ]
{"accepted_answer_id":13255,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-16T15:24:19.153000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2012-08-11T15:40:55.323000+00:00","last_edit_date":"2012-08-11T15:40:55.323000+0...
[ -0.0140228271484375, 0.02587890625, -0.00290679931640625, -0.0038204193115234375, 0.02587890625, -0.003505706787109375, -0.01534271240234375, -0.00455474853515625, 0.0236053466796875, 0.0002658367156982422, -0.00844573974609375, -0.002635955810546875, -0.00530242919921875, -0.0117416381835...
[ 10, 13, 62, 70, 83, 90, 133, 214, 456, 592, 763, 903, 1733, 2174, 3229, 3525, 3917, 4517, 6626, 7279, 7710, 8966, 9077, 9624, 10366, 12353, 12960, 13794, 16940, 17137, 17582, 18151, 18499, 19279, 20051, 20594, 20800, 26111, 26176, 26785, ...
[ 0.003173828125, 0.1083984375, 0.00634765625, 0.0218505859375, 0.016845703125, 0.01318359375, 0.11328125, 0.06591796875, 0.146484375, 0.005615234375, 0.0634765625, 0.07568359375, 0.0576171875, 0.0284423828125, 0.0201416015625, 0.020751953125, 0.0517578125, 0.103515625, 0.010986328...
8c25c200-6db3-5a26-a980-e33cecdfe9d0
13,217
0
Title: How do I update my UI from within HttpWebRequest.BeginGetRequestStream in Silverlight I am uploading multiple files using the BeginGetRequestStream of HttpWebRequest but I want to update the progress control I have written whilst I post up the data stream. How should this be done, I have tried calling Dispat...
529
722
[ "c#" ]
[ "c#", "silverlight" ]
{"accepted_answer_id":16648,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-16T16:32:06.257000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2012-08-11T16:04:03.773000+00:00","last_edit_date":"2008-08-17T01:56:20.733000+00:00","...
[ -0.0264129638671875, 0.0027027130126953125, -0.031707763671875, 0.0139312744140625, -0.0081024169921875, -0.020538330078125, 0.00022518634796142578, 0.00876617431640625, 0.035064697265625, 0.0234222412109375, -0.01146697998046875, -0.0054931640625, 0.035064697265625, -0.044677734375, 0.0...
[ 4, 5, 6, 7, 10, 11, 13, 14, 15, 16, 18, 23, 44, 47, 54, 56, 62, 67, 70, 71, 74, 87, 90, 93, 107, 111, 126, 132, 136, 186, 206, 238, 247, 254, 257, 268, 284, 373, 390, 416, 429, 441, 442, 449, 474, 572, 661, 724, 757, 7...
[ 0.0087890625, 0.016357421875, 0.016845703125, 0.008544921875, 0.008056640625, 0.0078125, 0.009033203125, 0.008056640625, 0.00830078125, 0.0087890625, 0.0087890625, 0.007080078125, 0.007080078125, 0.03076171875, 0.041015625, 0.0078125, 0.007568359375, 0.0087890625, 0.008544921875,...
bbd93167-f3f3-55f7-b43f-348648a66b44
13,353
0
Title: Override tab behavior in WinForms I have a UserControl that consists of three TextBoxes. On a form I can have one or more or my UserControl. I want to implement my own tab behavior so if the user presses Tab in the second TextBox I should only move to the third TextBox if the the second TextBox has anything ent...
210
233
[ ".net", "c#" ]
[ "c#", ".net", "winforms" ]
{"accepted_answer_id":13358,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-16T20:48:00.590000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2008-10-22T20:18:13.150000+00:00","last_edit_date":"2008-08-18T21:16:28.410000+0...
[ 0.01323699951171875, -0.01052093505859375, 0.00957489013671875, 0.00040435791015625, 0, -0.025054931640625, -0.01335906982421875, 0.01116943359375, 0.00904083251953125, 0.0034122467041015625, -0.01300048828125, 0.0299072265625, 0.0411376953125, 0.005615234375, -0.005615234375, 0.020217...
[ 7, 54, 112, 416, 1286, 2480, 2967, 3173, 3444, 3638, 3642, 3714, 3917, 4163, 4488, 4867, 5117, 5361, 6226, 7158, 7225, 8294, 9578, 9655, 10002, 11737, 17262, 17686, 17932, 18158, 20928, 22193, 23937, 24129, 25813, 29479, 30501, 30957, 32153...
[ 0.07763671875, 0.017333984375, 0.09228515625, 0.15234375, 0.011474609375, 0.087890625, 0.0986328125, 0.2001953125, 0.036865234375, 0.035400390625, 0.01220703125, 0.09228515625, 0.04296875, 0.07958984375, 0.0439453125, 0.0751953125, 0.000732421875, 0.0478515625, 0.2578125, 0.083...
cdb34b11-d679-5334-8de2-e71f6dcf6055
13,524
0
Title: GridView delete not working I'm using a GridView in C#.NET 3.5 and have just converted the underlying DataSource from Adapter model to an object which gets its data from LINQ to SQL - i.e. a Business object that returns a List<> for the GetData() function etc. All was well in Denmark and the Update, and condi...
155
181
[ "c#" ]
[ "c#", "asp.net", "gridview" ]
{"accepted_answer_id":null,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-17T05:57:59.653000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["c#"],"last_activity_date":"2014-02-20T08:13:17.730000+00:00","last_edit_date":"2014-02-20T08:13:17.730000+00:00","...
[ 0.014739990234375, -0.0188751220703125, -0.00972747802734375, -0.00966644287109375, 0.0204010009765625, -0.01114654541015625, -0.002521514892578125, 0.0185089111328125, -0.000377655029296875, 0.0064849853515625, -0.02960205078125, -0.0208740234375, -0.03607177734375, 0.00495147705078125, ...
[ 18, 23, 47, 56, 71, 262, 831, 959, 1379, 2053, 2389, 2737, 3299, 4488, 4904, 5299, 5423, 11338, 11809, 13438, 14249, 17368, 17777, 20697, 25074, 25647, 27875, 28641, 29089, 30646, 31577, 31945, 32036, 32354, 35431, 36746, 38704, 42272, 4648...
[ 0.0625, 0.021484375, 0.00146484375, 0.00244140625, 0.0791015625, 0.1552734375, 0.055419921875, 0.09716796875, 0.025634765625, 0.048583984375, 0.055419921875, 0.107421875, 0.1171875, 0.107421875, 0.09765625, 0.02001953125, 0.08544921875, 0.09375, 0.034423828125, 0.0228271484375,...
af634155-f914-5603-a285-24be59ce4e55
13,599
0
Title: Convert enums to human readable values Does anyone know how to transform a enum value to a human readable value? For example: ThisIsValueA should be "This is Value A".
44
46
[ "c#" ]
[ "c#", "enums", "human-readable" ]
{"accepted_answer_id":13613,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-17T12:24:21.840000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2022-07-21T14:04:19.840000+00:00","last_edit_date":"2014-07-15T12:53:26.737000+00:00","...
[ 0.0070953369140625, -0.0308990478515625, 0.0178375244140625, 0.0038013458251953125, 0.00356292724609375, -0.023345947265625, -0.018798828125, 0.0215606689453125, -0.02825927734375, -0.0032939910888671875, -0.0009169578552246094, 0.005298614501953125, 0.006107330322265625, -0.01131439208984...
[ 10, 22, 47, 62, 83, 186, 284, 316, 856, 1326, 1657, 2886, 3293, 3642, 3714, 5608, 10321, 11549, 12301, 14135, 27198, 27781, 29598, 34292, 35672, 48962, 50770, 73243, 101790, 142424, 190060 ]
[ 0.083984375, 0.19140625, 0.1484375, 0.154296875, 0.1962890625, 0.10546875, 0.146484375, 0.28515625, 0.1728515625, 0.0252685546875, 0.1103515625, 0.23828125, 0.1669921875, 0.130859375, 0.1494140625, 0.130859375, 0.2734375, 0.2021484375, 0.2060546875, 0.1884765625, 0.25390625, ...
bc641b21-1756-53ac-a5bd-27e16e7d4da4
13,615
0
Title: Validate Enum Values I need to validate an integer to know if is a valid enum value. What is the best way to do this in C#?
36
40
[ "c#" ]
[ "c#", "validation", "enums" ]
{"accepted_answer_id":4807469,"answer_count":13,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-17T13:14:42.720000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2024-08-08T07:53:16.153000+00:00","last_edit_date":"2013-12-06T13:09:22.877000+00:00...
[ 0.0291595458984375, -0.008697509765625, -0.003360748291015625, 0.0003132820129394531, 0.0218505859375, 0.004169464111328125, -0.006061553955078125, 0.0034961700439453125, -0.0045318603515625, -0.002506256103515625, -0.0032863616943359375, 0.023406982421875, -0.01103973388671875, -0.0119400...
[ 7, 22, 23, 47, 54, 67, 70, 83, 87, 313, 316, 357, 892, 903, 1505, 2174, 2965, 3714, 3871, 3917, 4904, 17489, 25447, 34292, 35604, 44622, 48962, 190060 ]
[ 0.017333984375, 0.1748046875, 0.00439453125, 0.0078125, 0.053466796875, 0.154296875, 0.0140380859375, 0.056640625, 0.00732421875, 0.06884765625, 0.24609375, 0.15234375, 0.15625, 0.05419921875, 0.1474609375, 0.1181640625, 0.123046875, 0.123046875, 0.10546875, 0.06689453125, 0....
eb8134f5-162e-5444-8fc2-c9117d846762
13,647
0
Title: Is there an easy way to convert C# classes to PHP? I am used to writing C# Windows applications. However, I have some free hosted PHP webspace that I would like to make use of. I have a basic understanding of PHP but have never used its object-oriented capabilities. Is there an easy way to convert C# classes ...
135
145
[ "c#", "php" ]
[ "c#", "php" ]
{"accepted_answer_id":13663,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-17T14:16:50.833000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#","php"],"last_activity_date":"2021-07-06T22:15:52.707000+00:00","last_edit_date":"2021-07-06T22:15:52.707000+00...
[ -0.015899658203125, -0.0186309814453125, 0.0122222900390625, 0.02099609375, 0.018157958984375, -0.0252685546875, 0.0211181640625, 0.0078887939453125, -0.0125732421875, -0.018157958984375, -0.0545654296875, -0.0167236328125, 0.0218353271484375, -0.0166168212890625, 0.022186279296875, 0....
[ 5, 10, 23, 47, 70, 83, 87, 98, 110, 142, 186, 297, 313, 456, 464, 581, 765, 959, 1221, 1284, 1884, 2071, 2685, 2806, 3773, 3917, 4092, 4527, 4904, 5201, 6863, 7722, 8306, 10321, 10723, 11814, 17777, 18507, 23468, 27980, 29908, 32562, ...
[ 0.00830078125, 0.00048828125, 0.05859375, 0.1640625, 0.009033203125, 0.02734375, 0.0087890625, 0.015869140625, 0.033203125, 0.0284423828125, 0.058837890625, 0.03564453125, 0.09716796875, 0.0255126953125, 0.09912109375, 0.0172119140625, 0.020263671875, 0.0107421875, 0.011962890625...
f4377db5-3cf9-5ca5-bca8-c90e889dc0cf
13,731
0
Title: Differences Between C# and VB.net Possible Duplicate: What are the most important functional differences between C# and VB.NET? Other than syntax, what are the major differences between C# and vb.net?
48
59
[ "c#", "vb.net" ]
[ "c#", "vb.net" ]
{"accepted_answer_id":null,"answer_count":0,"chunk_count":1,"chunk_index":0,"closed_date":"2011-06-23T14:24:09.090000+00:00","creation_date":"2008-08-17T17:09:25.337000+00:00","has_accepted_answer":false,"is_closed":true,"languages":["c#","vb.net"],"last_activity_date":"2011-01-03T02:10:09.283000+00:00","last_edit_date...
[ 0.0182037353515625, -0.0172576904296875, -0.0219879150390625, 0.0165557861328125, 0.041839599609375, -0.00998687744140625, -0.017974853515625, 0.038055419921875, 0.01389312744140625, 0.012237548828125, -0.046356201171875, 0.00186920166015625, 0.012115478515625, 0.00827789306640625, 0.029...
[ 5, 7, 33, 70, 136, 313, 621, 803, 1177, 1179, 2684, 4865, 4904, 5526, 6002, 6300, 13036, 17721, 17777, 18234, 48962, 52721, 60212, 69098, 75034, 86482, 86531, 115861, 123309 ]
[ 0.051025390625, 0.091796875, 0.06787109375, 0.00390625, 0.109375, 0.103515625, 0.0208740234375, 0.0673828125, 0.09326171875, 0.2314453125, 0.0537109375, 0.0177001953125, 0.2451171875, 0.06982421875, 0.037353515625, 0.0400390625, 0.056884765625, 0.134765625, 0.2275390625, 0.1708...
4614c196-19cb-5141-8293-574e71034249
13,963
0
Title: Best method of Textfile Parsing in C#? I want to parse a config file sorta thing, like so: [KEY:Value] [SUBKEY:SubValue] Now I started with a StreamReader, converting lines into character arrays, when I figured there's gotta be a better way. So I ask you, humble reader, to help me. One restrictio...
141
140
[ "c#" ]
[ "c#", "fileparse" ]
{"accepted_answer_id":13990,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-17T22:02:31.097000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2015-12-29T02:45:57.650000+00:00","last_edit_date":"2015-11-20T11:36:42.473000+00:00","...
[ -0.00943756103515625, -0.0065460205078125, -0.01361846923828125, -0.0187530517578125, -0.003154754638671875, -0.0205230712890625, 0.0017538070678710938, 0.01397705078125, -0.00890350341796875, 0.005218505859375, -0.06695556640625, -0.004302978515625, 0.01450347900390625, -0.025711059570312...
[ 10, 23, 31, 47, 56, 70, 111, 184, 214, 221, 313, 366, 678, 856, 1884, 2392, 3444, 3917, 3934, 4358, 4488, 4778, 4904, 6953, 9790, 10298, 11345, 11435, 11522, 13580, 16655, 24129, 24763, 26366, 26458, 26859, 29822, 29908, 31345, 32338, 4...
[ 0.007080078125, 0.058837890625, 0.1240234375, 0.04833984375, 0.1669921875, 0.0087890625, 0.0048828125, 0.15625, 0.050048828125, 0.037353515625, 0.060546875, 0.1787109375, 0.023193359375, 0.0771484375, 0.027587890625, 0.1767578125, 0.076171875, 0.0576171875, 0.064453125, 0.06445...