id
stringlengths
36
36
question_id
int64
9
38.2M
chunk_index
int32
0
18
embedding_text
stringlengths
50
13.2k
dense_tokens
int32
13
1.02k
sparse_tokens
int32
13
1.02k
languages
listlengths
1
5
tags
listlengths
1
5
payload_json
stringlengths
413
566
dense
list
sparse_indices
listlengths
8
467
sparse_values
listlengths
8
467
5ae38e38-6c50-5f2d-8f77-60d995fe2aba
9
0
Title: How do I calculate someone's age based on a DateTime type birthday? Given a DateTime representing a person's birthday, how do I calculate their age in years?
36
44
[ ".net", "c#" ]
[ "c#", ".net", "datetime" ]
{"accepted_answer_id":1404,"answer_count":76,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-07-31T23:40:59.743000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2025-05-01T16:40:42.650000+00:00","last_edit_date":"2022-07-27T22:34:36.320000+0...
[ 0.042633056640625, 0.016937255859375, -0.0179901123046875, -0.031982421875, 0.022735595703125, -0.00669097900390625, -0.0079345703125, 0.00952911376953125, 0.004795074462890625, -0.00899505615234375, -0.01751708984375, -0.0003921985626220703, 0.0092926025390625, -0.0230865478515625, -0.0...
[ 23, 54, 67, 87, 2363, 3445, 3642, 5369, 10644, 11249, 22008, 25512, 32070, 33636, 35509, 48962, 70059, 74481, 101207 ]
[ 0.03857421875, 0.007080078125, 0.08935546875, 0.018310546875, 0.0419921875, 0.095703125, 0.03759765625, 0.189453125, 0.125, 0.04052734375, 0.060302734375, 0.16015625, 0.2216796875, 0.1455078125, 0.055908203125, 0.037109375, 0.2255859375, 0.185546875, 0.2119140625 ]
7116522e-95e0-5710-ab6b-b04e104ee604
14
0
Title: Difference between Math.Floor() and Math.Truncate() What is the difference between Math.Floor() and Math.Truncate() in .NET?
31
48
[ ".net" ]
[ ".net", "math" ]
{"accepted_answer_id":null,"answer_count":14,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T00:59:11.177000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net"],"last_activity_date":"2024-04-04T10:42:18.197000+00:00","last_edit_date":"2017-02-25T17:42:17.810000+00:00...
[ 0.058380126953125, -0.0081329345703125, -0.00487518310546875, -0.0214080810546875, 0.006099700927734375, -0.0113677978515625, -0.01082611083984375, -0.0015401840209960938, -0.0293121337890625, -0.01297760009765625, -0.0007214546203613281, -0.009033203125, 0.0248870849609375, 0.000508308410...
[ 5, 16, 70, 83, 132, 136, 365, 618, 748, 803, 919, 4865, 6620, 16428, 17721, 17777, 18234, 33478, 48962, 60212, 78804 ]
[ 0.08154296875, 0.000244140625, 0.095703125, 0.030029296875, 0.091796875, 0.099609375, 0.166015625, 0.061279296875, 0.169921875, 0.0888671875, 0.0849609375, 0.0159912109375, 0.09765625, 0.1826171875, 0.1181640625, 0.181640625, 0.1640625, 0.263671875, 0.02880859375, 0.1865234375,...
92d5326a-b086-5604-bd9f-232f448c8e10
16
0
Title: Filling a DataSet or a DataTable from a LINQ query result set How do you expose a LINQ query as an ASMX web service? Usually, from the business tier, I can return a typed DataSet or a DataTable which can be serialized for transport over ASMX. How can I do the same for a LINQ query? Is there a way to popul...
237
292
[ ".net", "c#" ]
[ "c#", "linq", "web-services", ".net-3.5" ]
{"accepted_answer_id":12446,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T04:59:33.643000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2021-01-07T14:09:26.367000+00:00","last_edit_date":"2021-01-07T14:09:26.367000+0...
[ 0, -0.0114593505859375, 0.0156402587890625, 0.014862060546875, 0.006595611572265625, -0.02471923828125, 0.004207611083984375, 0.003223419189453125, 0.00788116455078125, 0.033905029296875, -0.01003265380859375, 0.005672454833984375, -0.0034027099609375, 0.00504302978515625, 0.009376525878...
[ 18, 19, 41, 87, 126, 237, 238, 294, 618, 707, 711, 831, 959, 1294, 1295, 1418, 1467, 1829, 2606, 2646, 2737, 2886, 3568, 3835, 3884, 3917, 3934, 4488, 4516, 5423, 5701, 5809, 6181, 6483, 6493, 7763, 8063, 10644, 11809, 16750, 22153, 2...
[ 0.0283203125, 0.01318359375, 0.1376953125, 0.005615234375, 0.1611328125, 0.05712890625, 0.0986328125, 0.1611328125, 0.16796875, 0.01904296875, 0.00634765625, 0.0230712890625, 0.0107421875, 0.11328125, 0.0478515625, 0.0068359375, 0.08251953125, 0.04248046875, 0.000732421875, 0.0...
1f6b0098-20d3-52c1-8a90-45b90ef74bb6
39
0
Title: Reliable timer in a console application I am aware that in .NET there are three timer types (see Comparing the Timer Classes in the .NET Framework Class Library). I have chosen a threaded timer as the other types can drift if the main thread is busy, and I need this to be reliable. The way this timer works in...
160
167
[ ".net", "c#", "vb.net" ]
[ "c#", ".net", "vb.net", "timer" ]
{"accepted_answer_id":45,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T12:43:11.503000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#","vb.net"],"last_activity_date":"2020-12-10T16:48:40.317000+00:00","last_edit_date":"2019-01-20T13:50:37.53...
[ 0.0200042724609375, 0.022369384765625, -0.0275726318359375, 0.02935791015625, 0.0275726318359375, -0.0275726318359375, 0.0032253265380859375, 0.0010061264038085938, 0.0256805419921875, -0.0091705322265625, -0.0355224609375, -0.0017528533935546875, 0.0181121826171875, -0.020355224609375, ...
[ 5, 23, 56, 70, 83, 150, 297, 621, 738, 831, 853, 959, 1053, 2594, 2886, 3789, 3871, 3884, 4488, 5201, 5773, 5792, 6226, 9842, 11343, 12960, 13320, 15700, 17262, 17777, 19667, 20594, 20903, 21991, 23937, 29568, 31089, 33233, 35014, 37842, ...
[ 0.0152587890625, 0.0169677734375, 0.146484375, 0.005126953125, 0.005615234375, 0.130859375, 0.1064453125, 0.004638671875, 0.00244140625, 0.016357421875, 0.042724609375, 0.057373046875, 0.09375, 0.0703125, 0.060546875, 0.00146484375, 0.036865234375, 0.005859375, 0.03857421875, 0...
77ac00c4-46b0-5e9d-9cb0-b9e4376faf27
59
0
Title: How do I get a distinct, ordered list of names from a DataTable using LINQ? I have a DataTable with a Name column. I want to generate a collection of the unique names ordered alphabetically. The following query ignores the order by clause. var names = (from DataRow dr in dataTable.Rows orderby (string...
96
121
[ ".net", "c#" ]
[ "c#", "linq", ".net-3.5" ]
{"accepted_answer_id":43110,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T13:14:33.797000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2019-09-30T08:49:44.503000+00:00","last_edit_date":"2018-01-30T16:56:45.910000+0...
[ 0.0341796875, -0.01242828369140625, -0.004810333251953125, -0.0106353759765625, 0.024749755859375, -0.01332855224609375, -0.0178070068359375, -0.0025691986083984375, 0.0142822265625, 0.00475311279296875, -0.0017261505126953125, 0.0265350341796875, -0.005977630615234375, 0.00633621215820312...
[ 7, 13, 22, 23, 41, 111, 285, 297, 316, 390, 434, 618, 959, 1272, 1294, 1295, 2046, 2053, 2203, 2737, 2886, 3365, 3444, 3568, 5303, 7569, 11249, 11809, 12724, 12989, 14602, 15390, 15757, 17368, 19725, 25632, 36849, 36998, 42486, 44084, 4...
[ 0.04541015625, 0.0615234375, 0.0247802734375, 0.014892578125, 0.08203125, 0.0145263671875, 0.19140625, 0.09765625, 0.0673828125, 0.1015625, 0.07568359375, 0.1337890625, 0.115234375, 0.181640625, 0.0703125, 0.0634765625, 0.06640625, 0.07421875, 0.0279541015625, 0.193359375, 0....
7c3b54bd-4df1-5f43-ade4-1ecdfeb81a36
66
0
Title: Paging a collection with LINQ How do you page through a collection in LINQ given that you have a startIndex and a count?
31
35
[ ".net" ]
[ "linq", ".net-3.5" ]
{"accepted_answer_id":4521,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T13:20:46.890000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2018-04-08T18:47:49.823000+00:00","last_edit_date":"2012-05-04T09:03:54.213000+00:00",...
[ -0.007633209228515625, -0.0121917724609375, 0.004703521728515625, -0.0233154296875, 0.001079559326171875, -0.00959014892578125, -0.020599365234375, 0.00659942626953125, 0.010650634765625, -0.0016269683837890625, -0.01384735107421875, 0.0068359375, 0.01230621337890625, -0.000554561614990234...
[ 23, 54, 136, 214, 398, 678, 765, 2737, 4034, 4153, 8305, 8341, 9191, 34475, 39659, 42486, 46610, 48962, 54529 ]
[ 0.0203857421875, 0.030517578125, 0.0206298828125, 0.07470703125, 0.0140380859375, 0.044677734375, 0.00830078125, 0.220703125, 0.16796875, 0.083984375, 0.140625, 0.2109375, 0.2578125, 0.00830078125, 0.20703125, 0.2392578125, 0.201171875, 0.01318359375, 0.22265625 ]
808fc034-e7d8-56f9-8b29-448a7f87f740
104
0
Title: Anatomy of a "Memory Leak" In .NET perspective: What is a memory leak? How can you determine whether your application leaks? What are the effects? How can you prevent a memory leak? If your application has memory leak, does it go away when the process exits or is killed? Or do memory leaks in your appl...
103
117
[ ".net" ]
[ ".net", "performance", "memory-leaks", "com-interop" ]
{"accepted_answer_id":112,"answer_count":15,"chunk_count":1,"chunk_index":0,"closed_date":"2026-04-02T17:55:04.090000+00:00","creation_date":"2008-08-01T15:12:34.837000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net"],"last_activity_date":"2018-06-08T15:37:29.390000+00:00","last_edit_date":"2018-...
[ 0.042694091796875, -0.007343292236328125, -0.044342041015625, 0.01910400390625, 0.01203155517578125, 0.007373809814453125, -0.0172271728515625, 0.00991058349609375, 0.00548553466796875, -0.004039764404296875, -0.0450439453125, -0.002712249755859375, -0.01161956787109375, -0.0087890625, 0...
[ 5, 10, 12, 51, 53, 64, 83, 95, 111, 188, 344, 360, 398, 436, 442, 636, 831, 1176, 1556, 1829, 2146, 4263, 4514, 4707, 4865, 5337, 5426, 5710, 6696, 7103, 9433, 11249, 16065, 17203, 17777, 18151, 21721, 23253, 24251, 31436, 36766, 3841...
[ 0.0673828125, 0.125, 0.00634765625, 0.00146484375, 0.09521484375, 0.0220947265625, 0.125, 0.232421875, 0.091796875, 0.15234375, 0.25390625, 0.01904296875, 0.00537109375, 0.004638671875, 0.004150390625, 0.21484375, 0.052001953125, 0.078125, 0.05126953125, 0.006103515625, 0.174...
da17c77c-d2c5-574a-b159-b873c43897af
134
0
Title: XSD DataSets and ignoring foreign keys I have a pretty standard table set-up in a current application using the .NET XSD DataSet and TableAdapter features. My contracts table consists of some standard contract information, with a column for the primary department. This column is a foreign key to my Departments ...
272
316
[ ".net" ]
[ ".net", "database", "xsd" ]
{"accepted_answer_id":206,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T16:33:38.183000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2019-06-01T01:56:45.287000+00:00","last_edit_date":"2019-06-01T01:56:45.287000+00:00","...
[ 0.0197296142578125, -0.00933074951171875, -0.0132293701171875, -0.0022144317626953125, 0.01216888427734375, -0.0007786750793457031, 0.0261077880859375, 0.0212554931640625, 0.00478363037109375, 0.00921630859375, -0.0203094482421875, 0.01275634765625, 0.01074981689453125, 0.0185394287109375,...
[ 18, 126, 294, 308, 316, 618, 720, 1193, 1809, 2037, 2053, 2356, 2631, 2811, 2886, 2967, 3365, 3447, 3688, 4343, 4488, 4657, 4677, 5423, 5570, 5713, 6626, 6782, 7831, 9114, 9191, 9351, 11249, 11809, 12765, 13384, 14858, 15044, 17365, 17721...
[ 0.03271484375, 0.1025390625, 0.1162109375, 0.05908203125, 0.05712890625, 0.02490234375, 0.0859375, 0.1279296875, 0.08251953125, 0.0142822265625, 0.08837890625, 0.006103515625, 0.1220703125, 0.0849609375, 0.06591796875, 0.03515625, 0.056640625, 0.0213623046875, 0.05859375, 0.040...
76ce021f-323c-57f6-8276-fe97175be63f
145
0
Title: Compressing / Decompressing Folders & Files Does anyone know of a good way to compress or decompress files and folders in C# quickly? Handling large files might be necessary.
43
46
[ ".net", "c#" ]
[ "c#", ".net", "file", "compression" ]
{"accepted_answer_id":null,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T17:13:08.933000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2023-09-20T15:07:43.557000+00:00","last_edit_date":"2018-12-25T14:13:03.880000+0...
[ 0.0134124755859375, 0.003753662109375, -0.0134124755859375, 0.0002856254577636719, 0.032989501953125, -0.033233642578125, -0.0185089111328125, 0.0183868408203125, 0.0006933212280273438, -0.0010900497436523438, -0.032745361328125, -0.004184722900390625, 0.02325439453125, -0.034881591796875,...
[ 7, 8, 10, 23, 32, 47, 111, 136, 214, 248, 262, 277, 313, 375, 619, 707, 3714, 3917, 4127, 4904, 11856, 13648, 14202, 21334, 30077, 35672, 38001, 42724, 48962, 63559, 69405, 78303, 102158, 142158, 193237 ]
[ 0.00927734375, 0.1826171875, 0.016357421875, 0.053955078125, 0.0068359375, 0.0654296875, 0.00830078125, 0.1142578125, 0.05126953125, 0.08544921875, 0.18359375, 0.158203125, 0.07470703125, 0.1513671875, 0.10302734375, 0.083984375, 0.0830078125, 0.09765625, 0.08447265625, 0.18164...
f058144b-4686-50cd-a7e2-e413d5bc2bf3
163
0
Title: How do I sync the SVN revision number with my ASP.NET web site? Stack Overflow has a subversion version number at the bottom: svn revision: 679 I want to use such automatic versioning with my .NET Web Site/Application, Windows Forms, WPD projects/solutions. How do I implement this?
73
78
[ ".net" ]
[ ".net", "asp.net", "svn", "versioning" ]
{"accepted_answer_id":170,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T18:00:13.830000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2020-05-25T03:59:07.680000+00:00","last_edit_date":"2015-12-29T06:27:21.560000+00:00","...
[ 0.016387939453125, -0.02349853515625, -0.004512786865234375, 0.002819061279296875, -0.0007829666137695312, 0.00860595703125, -0.009613037109375, 0.0286102294921875, 0.01116180419921875, 0.032989501953125, -0.02801513671875, -0.006618499755859375, 0.044403076171875, 0.0027599334716796875, ...
[ 19, 54, 70, 99, 159, 214, 238, 678, 1467, 1556, 1614, 1764, 2594, 3444, 3773, 4002, 4527, 6002, 6044, 6512, 9578, 11249, 11389, 12669, 14012, 15236, 17777, 20897, 29479, 34427, 40711, 46354, 47677, 48962, 77635, 101038, 103136, 111666, 1186...
[ 0.2255859375, 0.0224609375, 0.053466796875, 0.0218505859375, 0.0986328125, 0.08984375, 0.1474609375, 0.1474609375, 0.07080078125, 0.01220703125, 0.1904296875, 0.1005859375, 0.1171875, 0.0869140625, 0.051513671875, 0.058349609375, 0.09375, 0.212890625, 0.08251953125, 0.084960937...
a278a846-95ad-5c00-b57d-9a0196c5270f
192
0
Title: Floating Point Number parsing: Is there a Catch All algorithm? One of the fun parts of multi-cultural programming is number formats. Americans use 10,000.50 Germans use 10.000,50 French use 10 000,50 My first approach would be to take the string, parse it backwards until I encounter a separator and us...
271
272
[ ".net", "c#" ]
[ "c#", ".net", "asp.net", "internationalization", "globalization" ]
{"accepted_answer_id":258,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T19:23:13.117000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2023-04-24T08:28:04.530000+00:00","last_edit_date":"2019-01-20T13:48:20.567000+00:...
[ 0.0175323486328125, -0.0105133056640625, -0.0196990966796875, -0.0219879150390625, 0.0103302001953125, -0.01861572265625, -0.00876617431640625, 0.00708770751953125, -0.01428985595703125, 0.0015687942504882812, -0.01129150390625, -0.0120086669921875, 0.036285400390625, -0.007266998291015625...
[ 5, 7, 10, 22, 56, 116, 138, 184, 206, 209, 237, 351, 366, 449, 669, 748, 765, 927, 1179, 1238, 1294, 1556, 1632, 1809, 2071, 2174, 2189, 2445, 2525, 2606, 2685, 2749, 2806, 3164, 3501, 3667, 3773, 4068, 4263, 4420, 4488, 4527, 4568,...
[ 0.04541015625, 0.0152587890625, 0.03515625, 0.0303955078125, 0.05810546875, 0.091796875, 0.087890625, 0.107421875, 0.1357421875, 0.058837890625, 0.0830078125, 0.0966796875, 0.1728515625, 0.05419921875, 0.1162109375, 0.1328125, 0.03515625, 0.015869140625, 0.177734375, 0.02453613...
b2f3de55-0bd1-519f-add0-3acdc4dd9dd3
246
0
Title: Create a SQLite database based on an XSD Data Set Does anybody know if there is a way to create an SQLite database based on an XSD DataSet? In the past, I've just used a basic SQLite manager, but I want to fuse things a bit more with my .NET development if possible.
66
74
[ ".net" ]
[ ".net", "database", "sqlite" ]
{"accepted_answer_id":176741,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T22:34:42.853000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2025-08-10T08:09:48.870000+00:00","last_edit_date":"2020-02-24T11:07:22.580000+00:00...
[ 0.00214385986328125, 0.0204925537109375, 0.0031719207763671875, 0.005954742431640625, 0.01149749755859375, -0.016326904296875, -0.01512908935546875, 0.0116729736328125, 0.01078033447265625, 0.0156097412109375, -0.033843994140625, 0.00717926025390625, 0.0191802978515625, 0.00616455078125, ...
[ 5, 10, 47, 83, 98, 126, 142, 294, 678, 1193, 1286, 1486, 2174, 2499, 2685, 3444, 3714, 3917, 4785, 7722, 8966, 11015, 11809, 11814, 17777, 19943, 22916, 28282, 31095, 34754, 35509, 37873, 48962, 57574, 62822, 63399, 80866, 151313 ]
[ 0.020751953125, 0.03515625, 0.02001953125, 0.0146484375, 0.054443359375, 0.1611328125, 0.0260009765625, 0.13671875, 0.0029296875, 0.1572265625, 0.02490234375, 0.26953125, 0.027587890625, 0.00439453125, 0.01318359375, 0.033203125, 0.0927734375, 0.095703125, 0.0439453125, 0.04467...
fc47e559-39c6-5874-a3e1-a1f47e1528be
260
0
Title: Adding scripting functionality to .NET applications I have a little game written in C#. It uses a database as back-end. It's a trading card game, and I wanted to implement the function of the cards as a script. What I mean is that I essentially have an interface, ICard, which a card class implements (public c...
248
284
[ ".net", "c#" ]
[ "c#", ".net", "scripting" ]
{"accepted_answer_id":307,"answer_count":10,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T23:22:08.983000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2024-10-10T11:01:49.417000+00:00","last_edit_date":"2024-08-25T10:40:37.683000+00...
[ 0.01047515869140625, 0.0093536376953125, -0.0305328369140625, -0.0091705322265625, 0.016571044921875, -0.035491943359375, 0.0012054443359375, 0.03314208984375, 0.0142059326171875, 0.0121307373046875, -0.040008544921875, 0.008758544921875, 0.031707763671875, -0.0167999267578125, 0.0041999...
[ 5, 10, 23, 47, 62, 83, 87, 98, 100, 106, 214, 237, 313, 450, 765, 910, 1340, 1884, 2071, 2481, 2499, 2646, 2806, 2886, 3525, 3611, 3701, 3871, 4420, 4527, 4904, 5117, 6712, 7121, 7722, 8194, 9396, 9969, 10176, 11435, 12638, 13158, 1...
[ 0.05419921875, 0.041015625, 0.034912109375, 0.05029296875, 0.09130859375, 0.009033203125, 0.126953125, 0.025390625, 0.01171875, 0.06591796875, 0.146484375, 0.0859375, 0.0625, 0.0164794921875, 0.004638671875, 0.140625, 0.08935546875, 0.0693359375, 0.033447265625, 0.0546875, 0....
58eaebda-90e1-5c2a-84e9-48780cd137a7
289
0
Title: How do you sort a dictionary by value? I often have to sort a dictionary (consisting of keys & values) by value. For example, I have a hash of words and respective frequencies that I want to order by frequency. There is a SortedList which is good for a single value (say frequency), that I want to map back to ...
102
119
[ ".net", "c#" ]
[ "c#", ".net", "sorting", "dictionary" ]
{"accepted_answer_id":298,"answer_count":21,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-02T00:40:58.200000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2024-03-27T08:22:11.473000+00:00","last_edit_date":"2022-02-20T04:27:56.023000+00...
[ 0.035491943359375, 0.01523590087890625, -0.0189361572265625, 0.01666259765625, 0.0222625732421875, -0.006072998046875, -0.0149993896484375, -0.01369476318359375, 0.008453369140625, -0.00690460205078125, 0.0029754638671875, 0.022613525390625, -0.02154541015625, -0.00604248046875, 0.022384...
[ 7, 10, 45, 54, 56, 100, 111, 127, 297, 390, 398, 619, 765, 944, 959, 1556, 2565, 3444, 3917, 4127, 4420, 6635, 10763, 11001, 11249, 12096, 12478, 12989, 14055, 18507, 22288, 22799, 27983, 31384, 34153, 34292, 46622, 48962, 53666, 70634, ...
[ 0.008056640625, 0.049072265625, 0.0810546875, 0.06298828125, 0.04248046875, 0.005615234375, 0.0029296875, 0.0849609375, 0.08984375, 0.138671875, 0.04443359375, 0.0169677734375, 0.005859375, 0.07421875, 0.046630859375, 0.09765625, 0.0810546875, 0.03271484375, 0.052978515625, 0.0...
0d717786-82d8-50e0-bfe9-2e77691844ad
470
0
Title: Homegrown consumption of web services I've been writing a few web services for a .net app, now I'm ready to consume them. I've seen numerous examples where there is homegrown code for consuming the service as opposed to using the auto generated methods that Visual Studio creates when adding the web reference. ...
74
87
[ ".net" ]
[ ".net", "web-services" ]
{"accepted_answer_id":473,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":"2016-03-26T05:23:29.110000+00:00","creation_date":"2008-08-02T15:11:47.523000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net"],"last_activity_date":"2016-12-22T03:52:58.240000+00:00","last_edit_date":"2016-1...
[ -0.01125335693359375, -0.015869140625, -0.0015687942504882812, -0.001132965087890625, 0.0203704833984375, -0.047149658203125, 0.00324249267578125, 0.01474761962890625, -0.0023097991943359375, 0.031494140625, -0.02606201171875, 0.013031005859375, 0.01788330078125, 0.0251007080078125, 0.01...
[ 5, 7, 10, 13, 47, 100, 214, 233, 254, 903, 1179, 1363, 1467, 1809, 2005, 3060, 4027, 4516, 5036, 5368, 7710, 8407, 10846, 11374, 17368, 18151, 18588, 22968, 27781, 28282, 32562, 43542, 48962, 51592, 73372, 91067, 92940, 139392, 150624, 15...
[ 0.03662109375, 0.07275390625, 0.00244140625, 0.0142822265625, 0.003662109375, 0.0142822265625, 0.05224609375, 0.0164794921875, 0.1044921875, 0.031494140625, 0.1611328125, 0.0223388671875, 0.1337890625, 0.166015625, 0.1552734375, 0.030029296875, 0.150390625, 0.1669921875, 0.019775...
b4de76ca-512a-50c8-97ba-adcf5e55f439
709
0
Title: .NET testing framework advice I'm looking to introduce a unit testing framework into the mix at my job. We're using Visual Studio 2005 (though we may be moving to 2008 within the next six months) and work primarily in C#. If the framework has some kind of IDE integration that would be best, but I'm open to fram...
228
250
[ ".net", "c#" ]
[ "c#", ".net", "visual-studio", "unit-testing", "nunit" ]
{"accepted_answer_id":713,"answer_count":10,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-03T14:53:53.550000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2020-07-30T10:57:38.657000+00:00","last_edit_date":"2020-07-30T10:39:38.410000+00...
[ 0.026031494140625, -0.006740570068359375, -0.0261383056640625, -0.01061248779296875, 0.007152557373046875, -0.0019931793212890625, -0.0031795501708984375, 0.02203369140625, 0.00389862060546875, -0.0087890625, -0.04620361328125, -0.01090240478515625, 0.0188751220703125, 0.0275421142578125, ...
[ 5, 23, 47, 99, 344, 442, 642, 759, 1257, 1401, 1543, 1884, 2021, 2594, 2685, 2806, 2856, 2965, 3789, 3934, 4078, 4127, 4358, 4488, 4904, 5423, 6528, 6773, 7154, 7175, 7225, 8781, 9803, 11814, 12447, 13380, 15044, 16487, 17368, 17664, 17...
[ 0.0311279296875, 0.014892578125, 0.056640625, 0.0269775390625, 0.043212890625, 0.05078125, 0.0126953125, 0.012451171875, 0.0654296875, 0.00830078125, 0.011474609375, 0.0361328125, 0.126953125, 0.010009765625, 0.080078125, 0.031982421875, 0.0009765625, 0.09130859375, 0.01513671875...
aaf6baff-cfe3-5ae8-98e7-f4259b85513f
717
0
Title: Why doesn't VFP .NET OLEdb provider work in 64 bit Windows? I wrote a windows service using VB that read some legacy data from Visual Foxpro Databases to be inserted in SQL 2005. The problem is this use to run fine in Windows server 2003 32-Bits, but the client recently moved to Windows 2003 64-Bits and now the...
137
130
[ ".net" ]
[ ".net", "sql-server-2005", "oledb", "legacy", "visual-foxpro" ]
{"accepted_answer_id":799,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-03T15:07:10.073000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2014-11-25T20:41:05.157000+00:00","last_edit_date":"2014-11-25T20:41:05.157000+00:00","...
[ -0.01129150390625, -0.05108642578125, -0.012176513671875, -0.034942626953125, 0.014495849609375, -0.0029850006103515625, -0.006595611572265625, 0.039215087890625, 0.0273284912109375, -0.0083160400390625, -0.0285186767578125, 0.0019159317016601562, 0.0173492431640625, -0.00579071044921875, ...
[ 5, 18, 23, 47, 83, 110, 310, 571, 959, 2053, 2789, 2967, 3257, 3454, 3773, 4488, 4516, 4527, 4785, 5885, 6052, 7911, 10723, 11675, 12301, 14037, 14481, 17368, 17777, 22027, 22936, 23282, 23742, 26008, 29806, 35652, 39527, 44084, 48073, 48...
[ 0.019775390625, 0.1240234375, 0.025390625, 0.010498046875, 0.052978515625, 0.041748046875, 0.1533203125, 0.09765625, 0.107421875, 0.048095703125, 0.1484375, 0.07421875, 0.07421875, 0.1884765625, 0.1376953125, 0.1357421875, 0.1435546875, 0.0458984375, 0.1376953125, 0.080078125, ...
50cc8033-1a9a-570c-9b39-630fb3b16887
752
0
Title: How to create a new object instance from a Type One may not always know the Type of an object at compile-time, but may need to create an instance of the Type. How do you get a new object instance from a Type?
53
53
[ ".net", "c#" ]
[ "c#", ".net", "performance", "reflection", "types" ]
{"accepted_answer_id":755,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-03T16:29:03.607000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2022-11-16T07:35:48.033000+00:00","last_edit_date":"2020-04-19T17:56:29.830000+00...
[ 0.00501251220703125, 0.04815673828125, -0.012451171875, 0.0110931396484375, 0.0257415771484375, -0.0305938720703125, -0.015655517578125, 0.0226593017578125, 0.017791748046875, 0.0016384124755859375, -0.033203125, -0.0285797119140625, -0.007381439208984375, -0.0257415771484375, -0.0059585...
[ 4, 10, 47, 54, 99, 111, 142, 398, 959, 1284, 1295, 1340, 1543, 2046, 3525, 3714, 3871, 6032, 6561, 9969, 11249, 11343, 28282, 36746, 48962, 60457, 110527 ]
[ 0.0126953125, 0.03759765625, 0.045654296875, 0.0146484375, 0.010986328125, 0.039794921875, 0.041015625, 0.0146484375, 0.06396484375, 0.028564453125, 0.107421875, 0.1181640625, 0.061279296875, 0.0869140625, 0.1435546875, 0.1337890625, 0.06787109375, 0.056640625, 0.08984375, 0.10...
6c4799bd-4585-56ba-8147-70d6750f1939
761
0
Title: Localising date format descriptors What is the best way to localise a date format descriptor? As anyone from a culture which does not use the mm/dd/yyyy format knows, it is annoying to have to enter dates in this format. The .NET framework provides some very good localisation support, so it's trivial to parse...
150
174
[ ".net" ]
[ ".net", "internationalization", "date", "globalization" ]
{"accepted_answer_id":762,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-03T17:30:20.473000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2016-03-27T03:05:27.637000+00:00","last_edit_date":"2015-07-23T10:02:37.117000+00:00","...
[ 0.023590087890625, -0.0196380615234375, -0.03546142578125, -0.014373779296875, -0.001392364501953125, -0.004222869873046875, -0.034027099609375, 0.011199951171875, -0.0008158683776855469, 0.0133514404296875, 0.006526947021484375, -0.01454925537109375, 0.039031982421875, -0.0149688720703125...
[ 5, 23, 47, 53, 54, 64, 70, 83, 104, 113, 136, 184, 366, 594, 686, 765, 903, 959, 1295, 1927, 1940, 2684, 2866, 2965, 3444, 3917, 4000, 4028, 4127, 4527, 4552, 5122, 5622, 6626, 7225, 8060, 8668, 9384, 10422, 14602, 15032, 15549, 177...
[ 0.041259765625, 0.004638671875, 0.00927734375, 0.1435546875, 0.01025390625, 0.1240234375, 0.015625, 0.0068359375, 0.0947265625, 0.095703125, 0.04296875, 0.1435546875, 0.109375, 0.061279296875, 0.0712890625, 0.00341796875, 0.00927734375, 0.058349609375, 0.0274658203125, 0.000488...
aad55b15-f81c-5f5f-94f5-257a224423ad
944
0
Title: Unhandled Exception Handler in .NET 1.1 I'm maintaining a .NET 1.1 application and one of the things I've been tasked with is making sure the user doesn't see any unfriendly error notifications. I've added handlers to Application.ThreadException and AppDomain.CurrentDomain.UnhandledException, which do get cal...
166
187
[ ".net", "c#" ]
[ "c#", ".net", "exception" ]
{"accepted_answer_id":1016,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-04T01:15:38.067000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2022-01-28T06:42:56.517000+00:00","last_edit_date":"2019-01-20T13:46:09.923000+00...
[ 0.0016298294067382812, -0.0013055801391601562, -0.0196990966796875, -0.0261993408203125, -0.0093841552734375, -0.009796142578125, -0.0128631591796875, 0.0243072509765625, 0.013153076171875, 0.0119171142578125, -0.036590576171875, -0.006488800048828125, 0.007080078125, 0.01032257080078125, ...
[ 5, 7, 23, 51, 71, 110, 313, 408, 474, 603, 992, 1957, 2967, 3917, 5443, 5570, 5659, 7464, 8331, 9077, 10639, 14256, 16530, 17777, 18499, 19279, 24931, 26519, 28484, 29806, 34831, 35839, 35863, 38245, 38415, 38937, 39116, 44116, 46526, 489...
[ 0.021728515625, 0.0810546875, 0.001708984375, 0.1064453125, 0.04345703125, 0.00048828125, 0.0361328125, 0.126953125, 0.060546875, 0.1552734375, 0.1015625, 0.0634765625, 0.06640625, 0.064453125, 0.072265625, 0.1474609375, 0.09130859375, 0.107421875, 0.039306640625, 0.02758789062...
30a26207-4e8c-5ca9-8e6c-b4f518b62215
1,189
0
Title: ViewState invalid only in Safari One of the sites I maintain relies heavily on the use of ViewState (it isn't my code). However, on certain pages where the ViewState is extra-bloated, Safari throws a "Validation of viewstate MAC failed" error. This appears to only happen in Safari. Firefox, IE and Opera all l...
79
91
[ ".net", "c#" ]
[ "c#", ".net", "safari", "viewstate" ]
{"accepted_answer_id":1190,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-04T12:38:21.263000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2019-01-20T13:45:08.197000+00:00","last_edit_date":"2019-01-20T13:45:08.197000+00...
[ -0.01030731201171875, -0.026885986328125, -0.026885986328125, -0.024627685546875, 0.020721435546875, 0.0000864863395690918, -0.0083465576171875, 0.016815185546875, -0.0007033348083496094, 0.006839752197265625, -0.021087646484375, 0.00669097900390625, 0.011016845703125, -0.02191162109375, ...
[ 13, 18, 23, 98, 111, 532, 2320, 4173, 4527, 4734, 5115, 5701, 12986, 15271, 16556, 16912, 18151, 18499, 19888, 24233, 27686, 28702, 29805, 33306, 37967, 42272, 43568, 48962, 53383, 56112, 56649, 65771, 72367, 75536, 76104, 78826, 87628, 10425...
[ 0.15625, 0.02490234375, 0.099609375, 0.035888671875, 0.0634765625, 0.154296875, 0.06640625, 0.0927734375, 0.031005859375, 0.0869140625, 0.027587890625, 0.0147705078125, 0.1328125, 0.05712890625, 0.1796875, 0.197265625, 0.0751953125, 0.146484375, 0.26171875, 0.0419921875, 0.09...
d7aebe16-810f-5897-9680-da833a789b15
1,292
0
Title: Limit size of Queue<T> in .NET? I have a Queue<T> object that I have initialised to a capacity of 2, but obviously that is just the capacity and it keeps expanding as I add items. Is there already an object that automatically dequeues an item when the limit is reached, or is the best solution to create my own i...
77
87
[ ".net" ]
[ ".net", "collections", "queue" ]
{"accepted_answer_id":1305,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-04T14:47:10.970000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2020-05-30T20:48:24.267000+00:00","last_edit_date":null,"question_id":1292,"score":63,...
[ 0.026153564453125, 0.02056884765625, -0.006328582763671875, 0.0187835693359375, 0.0011510848999023438, -0.0050506591796875, -0.014678955078125, 0.0266265869140625, 0.03375244140625, 0.0175933837890625, -0.0406494140625, 0.0015230178833007812, 0.01277923583984375, -0.002155303955078125, 0...
[ 4, 5, 8, 23, 32, 47, 70, 83, 116, 214, 237, 618, 765, 944, 1284, 1660, 2965, 3229, 3674, 5813, 10002, 13267, 13388, 13695, 15190, 17475, 17777, 18507, 21049, 21771, 28282, 29806, 35735, 36746, 48962, 52021, 55769, 61475, 71062, 86151, 1...
[ 0.01953125, 0.029541015625, 0.1806640625, 0.044677734375, 0.013427734375, 0.0126953125, 0.0263671875, 0.0087890625, 0.1259765625, 0.037353515625, 0.017333984375, 0.1435546875, 0.04248046875, 0.1435546875, 0.0029296875, 0.0380859375, 0.0634765625, 0.02685546875, 0.048095703125, ...
8efa5cf4-4217-5a7d-8bb6-66024579521b
1,300
0
Title: Is nAnt still supported and suitable for .net 3.5/VS2008? I am using MSBuild to build my stuff. I want to use CruiseControl.net as by Build Server. Now, CCNET refers nAnt a lot, but it looks as if ccnet can do most of the stuff nant could do through the project configuration and msbuild. Also, nAnt seems a bi...
186
196
[ ".net" ]
[ ".net", ".net-3.5", "msbuild", "nant" ]
{"accepted_answer_id":1673,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-04T14:55:04.433000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2008-09-29T14:00:55.083000+00:00","last_edit_date":"2008-08-18T09:27:37.030000+00:00",...
[ 0.003063201904296875, -0.006336212158203125, -0.00568389892578125, -0.0054779052734375, 0.01018524169921875, -0.003849029541015625, 0.006038665771484375, 0.01788330078125, -0.0152740478515625, -0.005268096923828125, -0.041900634765625, -0.0122528076171875, 0.026763916015625, 0.024627685546...
[ 5, 24, 51, 54, 237, 297, 390, 645, 653, 660, 678, 759, 831, 1179, 2071, 2684, 2806, 3444, 3564, 4527, 4785, 5036, 5809, 5915, 6324, 6602, 7464, 8060, 9969, 10060, 10332, 11408, 12912, 13452, 15005, 16265, 16396, 17368, 17723, 17777, 178...
[ 0.013427734375, 0.154296875, 0.031005859375, 0.0380859375, 0.012451171875, 0.04833984375, 0.027587890625, 0.06640625, 0.1533203125, 0.20703125, 0.0419921875, 0.001953125, 0.0478515625, 0.2314453125, 0.0107421875, 0.080078125, 0.000244140625, 0.0576171875, 0.06787109375, 0.09423...
f1a3bc0d-80a7-5136-9d18-9260ec86e232
1,304
0
Title: How to check for file lock? Is there any way to check whether a file is locked without using a try/catch block? Right now, the only way I know of is to just open the file and catch any System.IO.IOException.
53
58
[ ".net", "c#" ]
[ "c#", ".net", "io", "filelock" ]
{"accepted_answer_id":1309,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":"2016-05-09T05:08:15.053000+00:00","creation_date":"2008-08-04T14:56:57.490000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2025-01-29T21:40:37.690000+00:00","last_edit_date":...
[ -0.0019054412841796875, -0.0216217041015625, -0.0006055831909179688, 0.01216888427734375, 0.0190277099609375, -0.0184326171875, -0.0030727386474609375, 0.024932861328125, 0.01453399658203125, 0.0031452178955078125, -0.0233917236328125, -0.019378662109375, 0.017364501953125, -0.026229858398...
[ 47, 64, 83, 100, 206, 297, 2499, 3714, 3917, 4460, 4734, 5036, 9790, 9803, 11249, 11435, 12353, 12765, 15490, 17780, 36766, 46389, 48962, 56776, 63928, 105556 ]
[ 0.07958984375, 0.002685546875, 0.0732421875, 0.10205078125, 0.0439453125, 0.142578125, 0.00537109375, 0.07373046875, 0.060302734375, 0.08349609375, 0.0498046875, 0.00830078125, 0.1376953125, 0.08642578125, 0.0673828125, 0.2109375, 0.042236328125, 0.212890625, 0.0556640625, 0.12...
8f5bfc51-12b4-5f51-936d-0f3d915b4a12
1,387
0
Title: What are the current best options for parallelizing a CPU-intensive .NET app? This is an open-ended question. What approaches should I consider?
33
39
[ ".net" ]
[ ".net", "parallel-processing" ]
{"accepted_answer_id":null,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":"2015-02-10T17:14:18.230000+00:00","creation_date":"2008-08-04T16:30:46.347000+00:00","has_accepted_answer":false,"is_closed":true,"languages":[".net"],"last_activity_date":"2009-05-11T05:52:39.343000+00:00","last_edit_date":null,...
[ 0.009246826171875, 0.00830841064453125, -0.0252685546875, 0.006114959716796875, 0.0236358642578125, -0.021881103515625, -0.01263427734375, -0.0115814208984375, 0.041656494140625, -0.01532745361328125, -0.06317138671875, 0.014862060546875, 0.0313720703125, 0.0178985595703125, 0.0397949218...
[ 5, 70, 90, 100, 621, 2285, 2965, 4027, 4865, 5608, 9655, 9803, 16916, 17777, 29272, 29888, 43581, 48962, 50717, 51515, 84382, 86039, 95103 ]
[ 0.018798828125, 0.03125, 0.027099609375, 0.027587890625, 0.00048828125, 0.05615234375, 0.140625, 0.189453125, 0.0223388671875, 0.052734375, 0.03271484375, 0.052734375, 0.0771484375, 0.1923828125, 0.16015625, 0.06982421875, 0.1162109375, 0.0517578125, 0.17578125, 0.154296875, ...
523a80c3-9ae2-5002-884a-8650a26b47ff
1,760
0
Title: .NET unit testing packages I am getting back into a bit more .NET after a few-years of not using it full-time and am wondering what the good unit testing packages are these days. I'm familiar with NUnit (a few years ago) and have played briefly around with IronRuby, with the goal of getting something like RSp...
122
133
[ ".net", "c#" ]
[ "c#", ".net", "unit-testing", "testing" ]
{"accepted_answer_id":1821,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":"2019-12-30T16:19:37.810000+00:00","creation_date":"2008-08-05T00:51:49.177000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2020-07-30T11:16:51.963000+00:00","last_edit_date":...
[ 0.0103912353515625, -0.005619049072265625, -0.018829345703125, 0.003204345703125, 0.01142120361328125, -0.0004329681396484375, -0.006256103515625, 0.007289886474609375, 0.007045745849609375, -0.0103912353515625, -0.044952392578125, -0.01439666748046875, 0.0305023193359375, 0.01519012451171...
[ 5, 7, 70, 87, 444, 621, 678, 959, 1272, 1286, 1884, 2367, 3688, 3714, 3934, 4127, 4393, 4420, 4785, 5045, 5155, 5369, 5809, 6032, 6097, 6650, 6773, 7103, 7289, 7730, 10846, 10932, 11782, 13312, 16031, 17368, 17777, 18057, 18912, 20949, ...
[ 0.08203125, 0.1259765625, 0.009521484375, 0.007568359375, 0.010986328125, 0.057861328125, 0.0196533203125, 0.05322265625, 0.1513671875, 0.1015625, 0.017578125, 0.0546875, 0.005615234375, 0.0751953125, 0.08447265625, 0.16015625, 0.01123046875, 0.1103515625, 0.09130859375, 0.0213...
44290511-a805-5c63-92ce-5ce2c38387dd
1,949
0
Title: Are Multiple DataContext classes ever appropriate? In order to fully use LinqToSql in an ASP.net 3.5 application, it is necessary to create DataContext classes (which is usually done using the designer in VS 2008). From the UI perspective, the DataContext is a design of the sections of your database that you wo...
386
440
[ ".net" ]
[ "asp.net", ".net", "linq-to-sql", "datacontext" ]
{"accepted_answer_id":5310,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T05:54:34.697000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2014-06-17T20:59:34.913000+00:00","last_edit_date":"2012-03-22T00:01:27.907000+00:00",...
[ 0.0196990966796875, 0.015777587890625, 0.0029659271240234375, -0.011749267578125, 0.0084228515625, 0.0036792755126953125, -0.003173828125, 0.0126953125, 0.02349853515625, -0.00872039794921875, -0.02740478515625, 0.005695343017578125, -0.0169677734375, 0.005279541015625, -0.00943756103515...
[ 32, 180, 294, 339, 388, 442, 566, 756, 759, 959, 1179, 1543, 1733, 1884, 1940, 2806, 3687, 4331, 4527, 4552, 5117, 7763, 8305, 8705, 9655, 10422, 11809, 11935, 13452, 13580, 15901, 16981, 17669, 17721, 18151, 18507, 18908, 19335, 21334, 2...
[ 0.001953125, 0.000244140625, 0.0230712890625, 0.07470703125, 0.095703125, 0.013671875, 0.039306640625, 0.04052734375, 0.039794921875, 0.001220703125, 0.10400390625, 0.007568359375, 0.0181884765625, 0.01611328125, 0.031494140625, 0.044677734375, 0.015380859375, 0.166015625, 0.0683...
420a69a9-2cde-5ef3-b83b-2e5bb0295758
1,995
0
Title: Most Efficient Way to Test Object Type I have values stored as strings in a DataTable where each value could really represent an int, double, or string (they were all converted to strings during an import process from an external data source). I need to test and see what type each value really is. What is mor...
126
137
[ ".net", "c#" ]
[ "c#", ".net", "double", "int" ]
{"accepted_answer_id":2001,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T07:49:11.547000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2015-12-14T09:16:52.833000+00:00","last_edit_date":"2015-12-14T09:16:52.833000+00...
[ 0.0273895263671875, 0.0040435791015625, -0.006374359130859375, -0.002140045166015625, 0.0024204254150390625, -0.0280914306640625, -0.0177001953125, 0.01080322265625, 0.00785064697265625, -0.0057525634765625, -0.029632568359375, 0.00778961181640625, -0.0021533966064453125, -0.00163745880126...
[ 18, 23, 47, 83, 237, 618, 1286, 1957, 2053, 2367, 2886, 3034, 3789, 4343, 5809, 6183, 8647, 10644, 11809, 12638, 14858, 17006, 24500, 24927, 29568, 30646, 31344, 33636, 34292, 38415, 40858, 41929, 42261, 43240, 45964, 47881, 48962, 55300, 6...
[ 0.1474609375, 0.09912109375, 0.061279296875, 0.056396484375, 0.005859375, 0.091796875, 0.09716796875, 0.07275390625, 0.0286865234375, 0.006103515625, 0.1240234375, 0.2236328125, 0.021240234375, 0.07568359375, 0.05322265625, 0.1376953125, 0.2421875, 0.22265625, 0.05517578125, 0....
8820125e-7cca-5c83-a139-5ba11b48c19c
2,134
0
Title: Do sealed classes really offer performance benefits? I have come across a lot of optimization tips which say that you should mark your classes as sealed to get extra performance benefits. I ran some tests to check the performance differential and found none. Am I doing something wrong? Am I missing the case w...
80
84
[ ".net" ]
[ ".net", "performance", "optimization", "sealed-class" ]
{"accepted_answer_id":2183,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T12:00:28.733000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2025-06-05T18:16:50.193000+00:00","last_edit_date":"2024-04-22T03:18:04.563000+00:00"...
[ -0.0177459716796875, 0.0015850067138671875, 0.00011718273162841797, 0.0286865234375, 0.0478515625, -0.011962890625, -0.023101806640625, 0.020599365234375, 0.0200042724609375, -0.01702880859375, -0.03192138671875, 0.0090484619140625, 0.01178741455078125, -0.01214599609375, 0.0122604370117...
[ 13, 237, 289, 297, 351, 984, 1221, 2022, 4173, 5608, 5915, 6183, 6305, 7225, 8337, 11522, 11675, 12765, 13028, 14037, 16188, 18645, 20594, 20625, 23718, 28704, 36880, 44691, 48962, 50339, 51592, 60212, 61112, 72382, 87235, 99710, 109921, 1322...
[ 0.020263671875, 0.03857421875, 0.05810546875, 0.130859375, 0.0673828125, 0.04248046875, 0.037109375, 0.018310546875, 0.0771484375, 0.0250244140625, 0.033935546875, 0.115234375, 0.08349609375, 0.01171875, 0.04638671875, 0.08837890625, 0.032470703125, 0.06591796875, 0.0250244140625...
aeda31a1-57e8-504f-8df8-69abe7309372
2,138
0
Title: LINQ on the .NET 2.0 Runtime Can a LINQ enabled app run on a machine that only has the .NET 2.0 runtime installed? In theory, LINQ is nothing more than syntactic sugar, and the resulting IL code should look the same as it would have in .NET 2.0. How can I write LINQ without using the .NET 3.5 libraries? Wil...
103
100
[ ".net" ]
[ ".net", "linq", ".net-3.5", ".net-2.0", "clr" ]
{"accepted_answer_id":2147,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T12:03:10.927000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2020-05-28T13:22:17.660000+00:00","last_edit_date":"2008-08-16T13:40:40.687000+00:00",...
[ 0.0013799667358398438, -0.034698486328125, -0.01617431640625, -0.007793426513671875, 0.0245513916015625, -0.038970947265625, -0.0058441162109375, 0.0282135009765625, 0.0321044921875, 0.004337310791015625, -0.0175933837890625, 0.00914764404296875, 0.004337310791015625, 0.0213623046875, 0....
[ 4, 5, 6, 83, 98, 102, 442, 831, 1286, 2737, 4027, 4171, 4734, 5608, 5701, 6002, 6032, 6713, 11675, 15490, 16655, 17368, 17777, 18151, 20255, 20600, 28398, 30219, 33022, 33720, 35773, 36279, 38704, 46610, 48962, 49086, 101087, 154453, 225081...
[ 0.051513671875, 0.0419921875, 0.02880859375, 0.029541015625, 0.06298828125, 0.099609375, 0.058837890625, 0.00634765625, 0.0157470703125, 0.2734375, 0.189453125, 0.076171875, 0.0191650390625, 0.010498046875, 0.048583984375, 0.061767578125, 0.1220703125, 0.091796875, 0.12890625, ...
c1b24eaa-45dd-5da5-81d4-38061ed98bfc
2,209
0
Title: How can I change the background of a masterpage from the code behind of a content page? I specifically want to add the style of background-color to the <body> tag of a master page, from the code behind (C#) of a content page that uses that master page. I have different content pages that need to make the mas...
174
184
[ ".net", "c#" ]
[ "c#", "asp.net", ".net", "master-pages" ]
{"accepted_answer_id":2233,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T12:46:45.003000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2015-11-24T06:36:46.773000+00:00","last_edit_date":"2014-05-14T17:56:39.150000+00...
[ -0.01332855224609375, -0.007549285888671875, 0.00870513916015625, -0.0198974609375, 0.0157470703125, -0.01776123046875, -0.027008056640625, 0.0191802978515625, -0.0028285980224609375, 0.024169921875, -0.004055023193359375, -0.00930023193359375, 0.0362548828125, 0.0014801025390625, 0.0272...
[ 7, 9, 13, 18, 47, 70, 87, 100, 111, 116, 831, 1286, 1295, 1556, 3444, 3871, 4028, 4488, 4527, 4598, 4734, 4904, 7909, 8821, 9191, 10941, 11249, 12620, 12921, 13315, 14858, 15190, 15549, 16487, 18151, 18897, 20623, 22469, 28848, 29806, 3...
[ 0.00732421875, 0.035400390625, 0.03759765625, 0.004638671875, 0.0147705078125, 0.072265625, 0.0341796875, 0.0247802734375, 0.07177734375, 0.041259765625, 0.07275390625, 0.013916015625, 0.1083984375, 0.0152587890625, 0.048583984375, 0.053466796875, 0.111328125, 0.043701171875, 0.0...
fe534862-d5d6-5d57-ae7f-c90902f4d792
2,214
0
Title: What's the best way to implement BDD/TDD in .NET 2.0? I'm looking to add a testing suite to my application, however I can't move to the newer testing frameworks for .NET 3.5. Does anyone have a suggestion about good testing frameworks to use?
66
68
[ ".net", "c#" ]
[ "c#", ".net", "testing", "tdd", "bdd" ]
{"accepted_answer_id":3443,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":"2013-07-12T02:38:12.527000+00:00","creation_date":"2008-08-05T12:50:15.543000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2020-07-07T13:16:23.057000+00:00","last_edit_date":...
[ 0.01346588134765625, 0.01020050048828125, -0.0202789306640625, -0.00806427001953125, 0.002994537353515625, -0.015655517578125, -0.029541015625, 0.0173187255859375, 0.018035888671875, 0.003780364990234375, -0.0462646484375, -0.013641357421875, 0.032958984375, 0.0246734619140625, 0.0362854...
[ 5, 18, 23, 47, 64, 70, 335, 618, 831, 2965, 3525, 3917, 4127, 4527, 4865, 14947, 15190, 16487, 16655, 17777, 24057, 25813, 29479, 35672, 38415, 38704, 48962, 49903, 134234, 170846, 199015 ]
[ 0.028564453125, 0.047119140625, 0.05078125, 0.0299072265625, 0.07373046875, 0.00048828125, 0.1142578125, 0.109375, 0.0498046875, 0.1162109375, 0.001953125, 0.07470703125, 0.0693359375, 0.06689453125, 0.007080078125, 0.1611328125, 0.0849609375, 0.05078125, 0.2158203125, 0.189453...
ca4d6352-04c4-51c8-a553-85be82e55060
2,267
0
Title: How to filter and combine 2 datasets in C# I am building a web page to show a customer what software they purchased and to give them a link to download said software. Unfortunately, the data on what was purchased and the download information are in separate databases so I can't just take care of it with joins i...
174
195
[ ".net", "c#" ]
[ "c#", ".net" ]
{"accepted_answer_id":null,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T13:17:46.830000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2017-12-21T15:00:28.703000+00:00","last_edit_date":"2017-12-21T15:00:28.703000+0...
[ 0.0300445556640625, -0.005401611328125, -0.0272369384765625, -0.005634307861328125, 0.0164337158203125, -0.00211334228515625, -0.00030994415283203125, -0.002391815185546875, -0.01080322265625, 0.0302886962890625, -0.0133819580078125, 0.00974273681640625, 0.0149688720703125, -0.005985260009...
[ 7, 23, 41, 47, 56, 71, 116, 126, 136, 237, 294, 313, 517, 707, 831, 1295, 1467, 1632, 2053, 2256, 2367, 3095, 3126, 3509, 4420, 4677, 4904, 5303, 7026, 7639, 9191, 10975, 11249, 11522, 11809, 22819, 23180, 27623, 28282, 28875, 31345, ...
[ 0.068359375, 0.005126953125, 0.0546875, 0.042724609375, 0.1259765625, 0.048583984375, 0.1982421875, 0.1630859375, 0.10009765625, 0.059326171875, 0.162109375, 0.0732421875, 0.07861328125, 0.009521484375, 0.002197265625, 0.0281982421875, 0.0203857421875, 0.056396484375, 0.168945312...
17e2b6c3-d7e8-5c27-b865-59238b612282
2,483
0
Title: Casting: (NewType) vs. Object as NewType What is actually the difference between these two casts? SomeClass sc = (SomeClass)SomeObject; SomeClass sc2 = SomeObject as SomeClass; Normally, shouldn't they both be explicit casts to the specified type?
65
73
[ ".net", "c#" ]
[ "c#", ".net" ]
{"accepted_answer_id":2487,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":"2019-12-23T13:23:32.393000+00:00","creation_date":"2008-08-05T15:42:30.110000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2020-07-05T21:46:58.927000+00:00","last_edit_date":...
[ -0.0020599365234375, 0.014892578125, -0.001140594482421875, -0.00594329833984375, 0.0176544189453125, -0.020477294921875, -0.022247314453125, 0.051788330078125, 0.00682830810546875, 0.0167083740234375, -0.0216522216796875, -0.0143585205078125, -0.01206207275390625, -0.03131103515625, 0.0...
[ 5, 7, 12, 16, 18, 47, 70, 74, 83, 186, 214, 237, 282, 304, 538, 1836, 2203, 2356, 5608, 6097, 6626, 8912, 9023, 10644, 15044, 17721, 20209, 20653, 28723, 31384, 32301, 37702, 46471, 46568, 48962, 58735, 60212, 75161, 134549, 140803, 143...
[ 0.011962890625, 0.0751953125, 0.04736328125, 0.015869140625, 0.007568359375, 0.07421875, 0.07373046875, 0.05859375, 0.042236328125, 0.0189208984375, 0.13671875, 0.10302734375, 0.0830078125, 0.240234375, 0.0341796875, 0.000244140625, 0.10498046875, 0.1416015625, 0.053955078125, ...
c509cca5-e081-5a79-99c1-e43c1bdc8912
2,525
0
Title: .NET obfuscation tools/strategy My product has several components: ASP.NET, Windows Forms App and Windows Service. 95% or so of the code is written in VB.NET. For Intellectual Property reasons, I need to obfuscate the code, and until now I have been using a version of dotfuscator which is now over 5 years old...
216
227
[ ".net" ]
[ ".net", "security", "obfuscation" ]
{"accepted_answer_id":8739,"answer_count":30,"chunk_count":1,"chunk_index":0,"closed_date":"2014-03-06T03:08:35.590000+00:00","creation_date":"2008-08-05T16:20:37.773000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net"],"last_activity_date":"2020-01-20T15:14:01.013000+00:00","last_edit_date":"2015...
[ 0.0029354095458984375, -0.005126953125, -0.028106689453125, 0.0006928443908691406, 0.04315185546875, -0.00948333740234375, -0.01043701171875, 0.035797119140625, 0.01007843017578125, 0.0118560791015625, -0.0576171875, 0.01381683349609375, 0.019561767578125, -0.0035572052001953125, 0.04980...
[ 4, 5, 7, 10, 23, 39, 47, 70, 71, 83, 87, 100, 111, 184, 190, 408, 509, 645, 678, 756, 765, 959, 995, 1181, 1290, 1556, 1632, 1733, 2053, 2060, 3432, 3525, 3714, 3773, 3871, 4657, 5036, 5299, 5303, 5369, 5608, 5659, 5792, 6713, 6...
[ 0.0009765625, 0.07568359375, 0.000244140625, 0.0009765625, 0.06591796875, 0.00048828125, 0.0177001953125, 0.001220703125, 0.0634765625, 0.0174560546875, 0.01025390625, 0.007568359375, 0.00146484375, 0.1171875, 0.05908203125, 0.19921875, 0.000244140625, 0.04931640625, 0.095703125,...
2e28607f-2ffb-5e71-b09a-9f6d3609700e
2,785
0
Title: Setting Objects to Null/Nothing after use in .NET Should you set all the objects to null (Nothing in VB.NET) once you have finished with them? I understand that in .NET it is essential to dispose of any instances of objects that implement the IDisposable interface to release some resources although the objec...
210
234
[ ".net", "c#", "vb.net" ]
[ "c#", ".net", "vb.net", "memory-management", "null" ]
{"accepted_answer_id":2839,"answer_count":16,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T20:14:10.560000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#","vb.net"],"last_activity_date":"2023-05-18T13:51:43.993000+00:00","last_edit_date":"2019-05-05T16:53:23...
[ 0.03350830078125, 0.0271759033203125, -0.01184844970703125, 0.0240631103515625, -0.00267791748046875, -0.0173492431640625, -0.035186767578125, 0.026214599609375, 0.0070037841796875, -0.0157928466796875, -0.04547119140625, -0.0083770751953125, -0.0093994140625, -0.010772705078125, 0.02297...
[ 5, 7, 23, 47, 64, 70, 83, 110, 162, 164, 182, 398, 402, 429, 442, 503, 678, 748, 756, 765, 831, 1181, 1221, 1257, 1429, 1733, 1810, 2499, 2856, 2886, 3173, 3229, 3671, 4527, 5021, 5423, 5426, 5609, 6494, 7086, 7103, 7464, 7522, 83...
[ 0.03369140625, 0.0947265625, 0.03759765625, 0.2001953125, 0.009033203125, 0.05224609375, 0.1494140625, 0.029296875, 0.060546875, 0.1103515625, 0.03662109375, 0.0225830078125, 0.1357421875, 0.031494140625, 0.038330078125, 0.140625, 0.1064453125, 0.032958984375, 0.1181640625, 0.0...
080092e9-dfe5-578a-bd39-235aa8cace4c
2,871
0
Title: Reading a C/C++ data structure in C# from a byte array What would be the best way to fill a C# struct from a byte[] array where the data was from a C/C++ struct? The C struct would look something like this (my C is very rusty): typedef OldStuff { CHAR Name[8]; UInt32 User; CHAR Location[8]; UI...
450
579
[ ".net", "c#" ]
[ "c#", ".net", "data-structures", "marshalling" ]
{"accepted_answer_id":2887,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T21:19:03.147000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2018-08-30T14:44:24.823000+00:00","last_edit_date":"2016-02-07T01:06:32.437000+00...
[ 0.00409698486328125, 0.006649017333984375, -0.0263519287109375, 0.01068115234375, 0.00836944580078125, -0.0200653076171875, -0.0007343292236328125, 0.0070343017578125, 0.0232696533203125, 0.0037975311279296875, -0.0211334228515625, -0.018280029296875, 0.00872802734375, -0.046051025390625, ...
[ 10, 18, 23, 47, 53, 56, 64, 67, 75, 112, 133, 313, 390, 420, 441, 509, 611, 660, 667, 757, 903, 944, 1062, 1176, 1294, 1295, 1884, 2053, 2174, 2230, 2356, 2646, 2806, 2965, 3835, 3917, 4200, 4288, 4448, 4552, 4707, 4904, 6056, 646...
[ 0.055419921875, 0.050537109375, 0.0179443359375, 0.1318359375, 0.0927734375, 0.05322265625, 0.1494140625, 0.185546875, 0.0225830078125, 0.1591796875, 0.06982421875, 0.1474609375, 0.146484375, 0.04150390625, 0.056640625, 0.052001953125, 0.1025390625, 0.0654296875, 0.026611328125, ...
19010968-6998-59d3-85cc-d5bfbd66c481
2,872
0
Title: Possible to "spin off" several GUI threads? (Not halting the system at Application.Run) My Goal I would like to have a main processing thread (non GUI), and be able to spin off GUIs in their own background threads as needed, and having my main non GUI thread keep working. Put another way, I want my main non G...
685
786
[ ".net", "c#" ]
[ "c#", ".net", "winforms" ]
{"accepted_answer_id":2901,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T21:19:37.280000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2016-02-07T01:06:01.593000+00:00","last_edit_date":"2016-02-07T01:06:01.593000+00...
[ 0, 0.0308990478515625, -0.0197296142578125, -0.0219879150390625, 0.00885009765625, -0.0237579345703125, -0.0116424560546875, 0.005107879638671875, 0.021270751953125, 0.022216796875, -0.0295867919921875, 0.0031642913818359375, 0.0406494140625, 0.0031337738037109375, 0.0194854736328125, ...
[ 4, 5, 7, 10, 11, 12, 15, 16, 19, 23, 25, 28, 33, 39, 47, 53, 58, 70, 71, 73, 83, 87, 90, 98, 99, 100, 110, 111, 126, 132, 136, 138, 177, 184, 186, 194, 214, 221, 237, 247, 289, 294, 297, 304, 329, 351, 390, 442, 450, 5...
[ 0.011962890625, 0.01220703125, 0.07861328125, 0.011962890625, 0.011474609375, 0.00537109375, 0.01171875, 0.012451171875, 0.009765625, 0.058349609375, 0.010986328125, 0.01123046875, 0.02685546875, 0.01025390625, 0.0234375, 0.011474609375, 0.01123046875, 0.01171875, 0.01171875, 0...
8c66c9b2-940e-5d16-a6ea-8ecc771ce825
2,874
0
Title: How to render a control to look like ComboBox with Visual Styles enabled? I have a control that is modelled on a ComboBox. I want to render the control so that the control border looks like that of a standard Windows ComboBox. Specifically, I have followed the MSDN documentation and all the rendering of the con...
191
216
[ ".net", "c#" ]
[ "c#", ".net", "winforms" ]
{"accepted_answer_id":null,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T21:19:57.170000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2023-03-07T19:14:51.877000+00:00","last_edit_date":"2013-11-01T16:26:52.507000+0...
[ 0.01491546630859375, -0.005645751953125, 0.01052093505859375, -0.0222320556640625, 0.0297088623046875, -0.0096282958984375, -0.00826263427734375, 0.0308990478515625, 0.004428863525390625, 0.01425933837890625, 0.007190704345703125, 0.044464111328125, 0.03802490234375, 0.006595611572265625, ...
[ 7, 56, 214, 297, 450, 678, 837, 1052, 1884, 3288, 3444, 3514, 3773, 5426, 5570, 6226, 6713, 11249, 11341, 12830, 14858, 16265, 18507, 19929, 23894, 24129, 26785, 33342, 34735, 40030, 42459, 51671, 57571, 57845, 63920, 72295, 73372, 79442, 8...
[ 0.0068359375, 0.07177734375, 0.01318359375, 0.01025390625, 0.00634765625, 0.0250244140625, 0.1787109375, 0.03662109375, 0.14453125, 0.1376953125, 0.0311279296875, 0.03173828125, 0.0849609375, 0.0576171875, 0.1005859375, 0.2294921875, 0.1259765625, 0.052490234375, 0.08984375, 0....
7c6d96fc-979e-5547-a1d1-0513cd3cb670
3,147
0
Title: What are the best practices for using Extension Methods in .Net? I have seen these being used every which way, and have been accused of using them the wrong way (though in that case, I was using them that way to demonstrate a point). So, what do you think are the best practices for employing Extension Methods...
120
127
[ ".net" ]
[ ".net" ]
{"accepted_answer_id":null,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":"2025-09-11T16:19:03.513000+00:00","creation_date":"2008-08-06T07:52:31.620000+00:00","has_accepted_answer":false,"is_closed":true,"languages":[".net"],"last_activity_date":"2015-06-27T06:05:28.533000+00:00","last_edit_date":"2008...
[ 0.0114593505859375, 0.0023708343505859375, 0.0101165771484375, 0.027099609375, 0.03326416015625, -0.0083770751953125, -0.01163482666015625, 0.016754150390625, 0.0144195556640625, 0.01861572265625, -0.03955078125, -0.001934051513671875, 0.006893157958984375, 0.00994873046875, 0.0175628662...
[ 5, 7, 23, 70, 100, 1294, 2965, 3129, 3173, 3917, 4865, 5351, 6097, 6275, 9803, 11814, 11907, 13158, 13452, 17368, 24447, 28282, 31344, 34754, 35773, 36880, 38134, 39210, 41361, 42486, 44691, 48962, 51592, 53702, 61689, 67842, 74644, 77635, ...
[ 0.033935546875, 0.08984375, 0.03515625, 0.0152587890625, 0.004638671875, 0.054931640625, 0.1494140625, 0.010498046875, 0.009033203125, 0.0537109375, 0.00830078125, 0.08642578125, 0.049072265625, 0.009033203125, 0.04150390625, 0.09423828125, 0.05712890625, 0.07421875, 0.072265625,...
a2fa0df3-afee-58e6-9089-1c4565ccd0b2
3,164
0
Title: Absolute path back to web-relative path If I have managed to locate and verify the existence of a file using Server.MapPath and I now want to send the user directly to that file, what is the fastest way to convert that absolute path back into a relative web path?
58
67
[ ".net", "c#" ]
[ "c#", "asp.net", ".net", "path", "mappath" ]
{"accepted_answer_id":3218,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-06T08:34:13.983000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2018-12-19T11:56:18.067000+00:00","last_edit_date":"2018-03-20T14:51:34.703000+00...
[ 0.009765625, -0.0221405029296875, 0.0179901123046875, -0.0019092559814453125, -0.0179901123046875, -0.00666046142578125, -0.0181121826171875, 0.024261474609375, -0.0159759521484375, 0.0015096664428710938, -0.0218963623046875, -0.00511932373046875, 0.008697509765625, -0.01171875, 0.025924...
[ 5, 10, 13, 47, 67, 493, 525, 683, 765, 1467, 2367, 3444, 3917, 3934, 4271, 4420, 4935, 5036, 10519, 11435, 17368, 22687, 25379, 25653, 35845, 38937, 40383, 48962, 60875, 64040, 89931, 96760, 101397, 105237, 116311, 145755, 166179 ]
[ 0.037353515625, 0.037109375, 0.064453125, 0.134765625, 0.005126953125, 0.10205078125, 0.08984375, 0.1123046875, 0.007080078125, 0.1396484375, 0.005126953125, 0.08544921875, 0.0693359375, 0.11328125, 0.10205078125, 0.17578125, 0.1318359375, 0.02392578125, 0.1982421875, 0.1630859...
5a1f21b2-1e15-55ab-8620-28b6d31293a8
3,284
0
Title: Why can't I have abstract static methods in C#? I've been working with providers a fair bit lately, and I came across an interesting situation where I wanted to have an abstract class that had an abstract static method. I read a few posts on the topic, and it sort of made sense, but is there a nice clear explan...
73
79
[ ".net", "c#" ]
[ "c#", ".net", "language-design" ]
{"accepted_answer_id":3294,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-06T11:04:33.587000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2025-07-26T18:15:32.957000+00:00","last_edit_date":"2024-04-02T08:31:47.753000+0...
[ -0.00009006261825561523, 0.0160369873046875, 0.0161590576171875, -0.022705078125, 0.0311431884765625, -0.0039825439453125, -0.012481689453125, 0.025787353515625, 0.00766754150390625, -0.003520965576171875, -0.06085205078125, 0.0128326416015625, -0.006862640380859375, -0.0172271728515625, ...
[ 6, 18, 23, 70, 313, 678, 765, 831, 4904, 10422, 16648, 18507, 20697, 26267, 28451, 34735, 36663, 44084, 49041, 55300, 81450, 150624, 164789, 187136, 201939 ]
[ 0.007568359375, 0.06982421875, 0.043701171875, 0.005126953125, 0.04150390625, 0.00634765625, 0.02880859375, 0.0791015625, 0.1650390625, 0.0576171875, 0.03662109375, 0.1591796875, 0.034912109375, 0.0087890625, 0.00341796875, 0.0400390625, 0.02978515625, 0.0966796875, 0.04174804687...
3e2e5042-6dee-5d7d-8af4-6a577349ab02
3,615
0
Title: Using SQLite with Visual Studio 2008 and Silverlight Any one know decent way to reference a SQLite database using the above mentioned tools? I tried using ODBC (the SQLite driver) but while the connection is good, I get no data returned. Like I can't see any tables in Data Connection (VS 2008). Is there a bette...
88
86
[ ".net" ]
[ ".net", "silverlight", "sqlite" ]
{"accepted_answer_id":null,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-06T16:14:15.100000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net"],"last_activity_date":"2012-07-30T20:15:42.023000+00:00","last_edit_date":null,"question_id":3615,"score":9,...
[ 0.00027871131896972656, -0.0180816650390625, 0.006183624267578125, -0.034027099609375, 0.006603240966796875, -0.00022482872009277344, 0.004520416259765625, 0.0259246826171875, 0.010589599609375, -0.01385498046875, -0.0284271240234375, 0.0203399658203125, -0.003658294677734375, 0.0335388183...
[ 8, 18, 47, 83, 110, 345, 678, 831, 1486, 1632, 1830, 1957, 2021, 2046, 2053, 2499, 3714, 3917, 4127, 11522, 11809, 12960, 16797, 17368, 20016, 22968, 23180, 24318, 27941, 34687, 37842, 47207, 57035, 62448, 63399, 72977, 73372, 80866, 91067,...
[ 0.0224609375, 0.018310546875, 0.0498046875, 0.00048828125, 0.1142578125, 0.041015625, 0.076171875, 0.031005859375, 0.2734375, 0.00634765625, 0.0830078125, 0.1494140625, 0.1923828125, 0.05615234375, 0.12890625, 0.03564453125, 0.04150390625, 0.06396484375, 0.06494140625, 0.069824...
525c773f-f858-57fe-9ca2-7ce1615c7c46
3,793
0
Title: Best way to get InnerXml of an XElement? What's the best way to get the contents of the mixed body element in the code below? The element might contain either XHTML or text, but I just want its contents in string form. The XmlElement type has the InnerXml property which is exactly what I'm after. The code as ...
162
197
[ ".net" ]
[ ".net", "xml", "xelement", "innerxml" ]
{"accepted_answer_id":1704579,"answer_count":14,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-06T18:16:55.853000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2018-10-25T19:07:28.277000+00:00","last_edit_date":"2015-05-30T08:04:33.173000+00:...
[ -0.00270843505859375, 0.0133514404296875, 0.0213165283203125, -0.0069122314453125, -0.00016927719116210938, -0.037841796875, 0.0186767578125, 0.01532745361328125, -0.00350189208984375, 0.0091552734375, -0.0184326171875, -0.01430511474609375, -0.00736236572265625, 0.01107025146484375, 0.0...
[ 7, 18, 23, 47, 111, 214, 285, 297, 647, 808, 856, 1193, 1542, 2046, 2301, 2965, 2982, 3173, 3444, 3525, 3917, 7103, 7237, 7763, 7986, 10644, 10941, 11345, 11627, 12830, 14361, 17664, 18151, 19929, 22144, 31146, 31345, 35064, 36849, 37873,...
[ 0.07080078125, 0.076171875, 0.041259765625, 0.0087890625, 0.08203125, 0.0302734375, 0.08056640625, 0.1201171875, 0.0576171875, 0.02978515625, 0.00732421875, 0.1171875, 0.1435546875, 0.111328125, 0.050537109375, 0.09326171875, 0.06396484375, 0.130859375, 0.09375, 0.024658203125,...
a350a98b-b4d3-5aa0-923c-37aa304f5b5e
3,927
0
Title: What Are Some Good .NET Profilers? What profilers have you used when working with .net programs, and which would you particularly recommend?
33
35
[ ".net", "c#" ]
[ "c#", ".net", "profiling", "profiler" ]
{"accepted_answer_id":100490,"answer_count":30,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-06T20:14:57.173000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2012-11-13T13:51:26.783000+00:00","last_edit_date":"2011-12-09T17:53:25.813000...
[ 0.01934814453125, -0.01055145263671875, -0.0247344970703125, 0.0006413459777832031, 0.025909423828125, -0.0093231201171875, -0.0247344970703125, -0.00372314453125, 0.017822265625, -0.0128936767578125, -0.05511474609375, 0.00574493408203125, 0.033294677734375, 0.003780364990234375, 0.0328...
[ 4, 5, 7, 398, 678, 765, 1179, 1314, 2806, 4865, 11814, 15901, 17777, 18621, 20697, 31384, 48962, 58848, 67330, 103391, 105609, 106480 ]
[ 0.06494140625, 0.06640625, 0.12890625, 0.01611328125, 0.012939453125, 0.06640625, 0.193359375, 0.1962890625, 0.001953125, 0.01611328125, 0.08251953125, 0.030517578125, 0.2216796875, 0.1103515625, 0.076171875, 0.048828125, 0.02099609375, 0.27734375, 0.111328125, 0.099609375, 0...
eec7e817-201e-53c0-b8a3-15d8c07ba78c
3,942
0
Title: What's the best way to find long-running code in a Windows Forms Application I inherited a Windows Forms app written in VB.Net. Certain parts of the app run dreadfully slow. What's the easiest way to find which parts of the code are holding things up? I'm looking for a way to quickly find the slowest subroutine...
118
135
[ ".net", "vb.net" ]
[ ".net", "vb.net" ]
{"accepted_answer_id":4238,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-06T20:26:21.923000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","vb.net"],"last_activity_date":"2016-02-11T04:20:47.313000+00:00","last_edit_date":"2008-08-16T12:51:49.89700...
[ 0.01375579833984375, -0.0284576416015625, -0.0219573974609375, -0.00537109375, 0.01605224609375, -0.0309295654296875, 0.0179443359375, 0.0139312744140625, 0.037322998046875, -0.0182952880859375, -0.055023193359375, 0.0218353271484375, 0.019134521484375, -0.0185394287109375, 0.02078247070...
[ 5, 7, 9, 23, 47, 70, 111, 525, 592, 621, 1221, 1257, 1544, 1614, 2965, 3773, 3917, 4027, 4092, 4865, 4989, 5117, 7413, 7639, 8759, 8966, 10325, 11675, 12638, 14179, 15236, 16428, 16487, 18151, 19882, 24447, 25500, 29806, 36461, 38352, 3...
[ 0.00927734375, 0.1298828125, 0.05712890625, 0.035400390625, 0.0732421875, 0.0186767578125, 0.009521484375, 0.1142578125, 0.0771484375, 0.047607421875, 0.000732421875, 0.1640625, 0.111328125, 0.12890625, 0.12109375, 0.1396484375, 0.0654296875, 0.1640625, 0.05517578125, 0.0112304...
b53ca71b-295a-5f0f-9ee4-d7c1183d7f14
3,984
0
Title: TestDriven.NET is not running my SetUp methods for MbUnit I've created some MbUnit Test Fixtures that have SetUp methods marked with the SetUp attribute. These methods run before the tests just fine using the MbUnit GUI, the console runner, and the ReSharper MbUnit plugin. However, when I run the tests with Tes...
103
121
[ ".net" ]
[ ".net", "visual-studio", "tdd", "mbunit", "testdriven.net" ]
{"accepted_answer_id":418605,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-06T21:06:32.797000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2020-06-18T11:10:58.790000+00:00","last_edit_date":"2012-03-22T01:52:35.473000+00:00...
[ -0.008331298828125, 0.021697998046875, -0.0171356201171875, -0.0236053466796875, 0.0206146240234375, 0.006504058837890625, -0.005184173583984375, 0.00994873046875, 0.028289794921875, 0.011627197265625, -0.0225372314453125, 0.0106658935546875, 0.040985107421875, -0.004703521728515625, 0.0...
[ 18, 19, 70, 678, 756, 759, 853, 959, 1264, 3467, 3714, 5885, 8108, 8647, 11675, 14602, 17777, 19943, 42448, 44691, 48962, 51042, 53234, 54608, 54889, 69993, 75935, 85600, 94419, 96746, 109921, 130250, 142117, 142994, 150380, 150624, 169581, 1...
[ 0.072265625, 0.1328125, 0.0147705078125, 0.0302734375, 0.0517578125, 0.00048828125, 0.0732421875, 0.115234375, 0.1533203125, 0.1240234375, 0.047607421875, 0.052734375, 0.0595703125, 0.1796875, 0.1318359375, 0.046630859375, 0.166015625, 0.17578125, 0.09619140625, 0.054443359375,...
0c5253f8-5ab5-5ace-8c17-f6d8d418a894
4,004
0
Title: How do I add SSL to a .net application that uses httplistener - it will *not* be running on IIS Most recent edits in bold I am using the .net HttpListener class, but I won't be running this application on IIS and am not using ASP.net. This web site describes what code to actually use to implement SSL with asp.n...
650
711
[ ".net" ]
[ ".net", "authentication", "encryption", "ssl" ]
{"accepted_answer_id":null,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-06T21:18:47.357000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net"],"last_activity_date":"2020-12-08T06:07:53.970000+00:00","last_edit_date":"2019-06-12T13:38:40.277000+00:00"...
[ -0.0143585205078125, -0.0169677734375, -0.0289459228515625, 0.01399993896484375, -0.0289459228515625, -0.0033817291259765625, -0.021240234375, 0.0009417533874511719, 0.020050048828125, -0.001987457275390625, -0.043426513671875, -0.00931549072265625, 0.042724609375, 0.0262298583984375, -0...
[ 5, 18, 47, 54, 56, 66, 87, 98, 237, 254, 294, 313, 351, 402, 425, 538, 572, 603, 678, 757, 959, 978, 1179, 1221, 1286, 1466, 1621, 1632, 1995, 2060, 2248, 2485, 2811, 2967, 3034, 3062, 3249, 3642, 3698, 3773, 3871, 3964, 4028, 403...
[ 0.05908203125, 0.00634765625, 0.0264892578125, 0.0107421875, 0.1572265625, 0.1103515625, 0.007080078125, 0.0189208984375, 0.0654296875, 0.087890625, 0.1484375, 0.0194091796875, 0.0228271484375, 0.056884765625, 0.042236328125, 0.004638671875, 0.0400390625, 0.06494140625, 0.0693359...
712fc097-dae1-5162-89cc-043f116d3461
4,151
0
Title: Best way to cache data I am in the process of figuring out a cache strategy for our current setup, currently have multiple web servers and wanted to know what is the best way to cache data in this environment. I have done research about MemCache and the native asp.net caching but wanted to get some feedback fir...
91
97
[ ".net" ]
[ ".net", "caching" ]
{"accepted_answer_id":null,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-06T23:58:47.580000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net"],"last_activity_date":"2014-09-22T16:33:29.587000+00:00","last_edit_date":"2014-06-04T10:08:11.540000+00:00"...
[ -0.00234222412109375, 0.0008044242858886719, -0.039154052734375, -0.01039886474609375, 0.01788330078125, -0.0225982666015625, -0.027435302734375, 0.0164337158203125, 0.004077911376953125, 0.005985260009765625, -0.04278564453125, 0.0200653076171875, 0.03167724609375, 0.0033245086669921875, ...
[ 24, 47, 237, 254, 377, 441, 678, 738, 903, 1179, 1467, 2053, 2965, 3714, 3917, 4527, 4935, 5117, 6460, 9433, 10723, 11345, 11469, 16530, 17443, 19916, 25188, 26747, 29908, 36663, 43581, 46994, 48716, 48962, 58269, 59207, 65998, 82365, 82424...
[ 0.0751953125, 0.09521484375, 0.031494140625, 0.1103515625, 0.1552734375, 0.1591796875, 0.05224609375, 0.046630859375, 0.0283203125, 0.14453125, 0.046630859375, 0.177734375, 0.14453125, 0.0147705078125, 0.1123046875, 0.040283203125, 0.1064453125, 0.031494140625, 0.21875, 0.00903...
a8768c03-15e7-5b55-87b1-38cf6c8195ad
4,157
0
Title: ConfigurationManager.AppSettings Performance Concerns I plan to be storing all my config settings in my application's app.config section (using the ConfigurationManager.AppSettings class). As the user changes settings using the app's UI (clicking checkboxes, choosing radio buttons, etc.), I plan to be writing t...
483
535
[ ".net", "c#" ]
[ "c#", ".net", "performance", "configuration", "properties" ]
{"accepted_answer_id":4220,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T00:12:55.663000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2022-07-21T14:04:03.680000+00:00","last_edit_date":"2017-12-22T10:12:07.717000+00...
[ 0.004970550537109375, 0.00856781005859375, -0.027557373046875, 0.004940032958984375, 0.003025054931640625, 0.0010404586791992188, -0.0119781494140625, 0.030914306640625, 0.024078369140625, -0.002635955810546875, -0.039520263671875, -0.0180816650390625, 0.01953125, -0.0154571533203125, 0....
[ 5, 23, 42, 100, 214, 345, 377, 493, 645, 756, 831, 903, 959, 1221, 1467, 1528, 1657, 1774, 1810, 1829, 2053, 2320, 2773, 2878, 3082, 3293, 3773, 3871, 3917, 4027, 4127, 4271, 4283, 4343, 4734, 5526, 5659, 5977, 6528, 6713, 7108, 9433,...
[ 0.022216796875, 0.006591796875, 0.018310546875, 0.07177734375, 0.035400390625, 0.041259765625, 0.051513671875, 0.028076171875, 0.024169921875, 0.0380859375, 0.03125, 0.02294921875, 0.041748046875, 0.004638671875, 0.01025390625, 0.04736328125, 0.03466796875, 0.08984375, 0.02209472...
dc45619f-22ce-5759-b3e6-5b201569c472
4,227
0
Title: Accessing a Dictionary.Keys Key through a numeric index I'm using a Dictionary<string, int> where the int is a count of the key. Now, I need to access the last-inserted Key inside the Dictionary, but I do not know the name of it. The obvious attempt: int LastCount = mydict[mydict.keys[mydict.keys.Count]]; ...
161
187
[ ".net", "c#" ]
[ "c#", ".net", "dictionary" ]
{"accepted_answer_id":4735712,"answer_count":15,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T00:51:21.720000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2020-01-03T07:03:49.040000+00:00","last_edit_date":"2015-04-07T12:16:44.32300...
[ 0.0170135498046875, 0.017364501953125, -0.0040435791015625, 0.00047397613525390625, 0.01088714599609375, 0.003509521484375, -0.017730712890625, 0.01255035400390625, 0.01273345947265625, 0.005176544189453125, -0.007495880126953125, 0.01367950439453125, -0.0123748779296875, -0.00675201416015...
[ 5, 7, 9, 10, 18, 23, 47, 56, 70, 73, 83, 98, 111, 214, 238, 268, 297, 378, 759, 959, 1176, 1284, 2594, 3714, 3871, 4343, 4488, 4527, 4568, 4711, 6512, 8305, 10002, 15700, 17203, 17368, 17569, 18190, 18507, 19770, 21373, 21672, 22799...
[ 0.0732421875, 0.087890625, 0.018310546875, 0.01806640625, 0.1259765625, 0.1142578125, 0.035888671875, 0.16015625, 0.02734375, 0.05615234375, 0.001953125, 0.052001953125, 0.019775390625, 0.025390625, 0.013427734375, 0.0693359375, 0.0400390625, 0.0654296875, 0.10546875, 0.0747070...
8dcfec5b-5222-531e-8977-fc65f2c40440
4,305
0
Title: Grid Hosting for Windows Are there any good grid-hosting companies out there that offer .NET stacks? Something like MediaTemple - which won't host the worlds fastest websites, but for the price is far better than "shared hosting". I've used Rackspace's Mosso, but it sucked - it never felt like a normal .NET sta...
88
100
[ ".net" ]
[ ".net", "hosting" ]
{"accepted_answer_id":null,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T02:27:58.560000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net"],"last_activity_date":"2009-03-29T05:23:59.737000+00:00","last_edit_date":null,"question_id":4305,"score":13...
[ -0.005519866943359375, -0.037261962890625, -0.03680419921875, 0.028839111328125, 0.00777435302734375, -0.016021728515625, -0.0007233619689941406, 0.009674072265625, 0.0167388916015625, -0.031585693359375, -0.05126953125, -0.0124664306640625, 0.0287322998046875, 0.0299072265625, 0.0462951...
[ 5, 7, 18, 70, 71, 83, 100, 133, 166, 214, 272, 450, 509, 525, 991, 1284, 1764, 1884, 2060, 2499, 2552, 2594, 2685, 3501, 3638, 3773, 4127, 4271, 4794, 8306, 8455, 8999, 11368, 11522, 11814, 17777, 18645, 23742, 27167, 27980, 29131, 31...
[ 0.042236328125, 0.040283203125, 0.06591796875, 0.045166015625, 0.1494140625, 0.011474609375, 0.03173828125, 0.228515625, 0.1396484375, 0.1259765625, 0.0189208984375, 0.010009765625, 0.034912109375, 0.0869140625, 0.203125, 0.0478515625, 0.046630859375, 0.029541015625, 0.0385742187...
d4ea85f6-b6af-57cb-a5da-f649af54c605
4,335
0
Title: High availability Is there anyway to configure a WCF service with a failover endpoint if the primary endpoint dies? Kind of like being able to specify a failover server in a SQL cluster. Specifically I am using the TCP/IP binding for speed, but on the rare occurrence that the machine is not available I would ...
100
115
[ ".net", "c#" ]
[ "c#", ".net", "wcf", "soa" ]
{"accepted_answer_id":13097,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T02:50:13.320000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2015-12-17T11:44:47.320000+00:00","last_edit_date":"2015-12-17T11:44:47.320000+0...
[ -0.005741119384765625, 0.00328826904296875, -0.00258636474609375, 0.01219940185546875, 0.0185394287109375, 0.0028247833251953125, -0.013153076171875, 0.013458251953125, 0.0079498291015625, -0.01285552978515625, -0.019256591796875, 0.013153076171875, 0.03778076171875, 0.03253173828125, 0....
[ 10, 47, 64, 70, 83, 100, 185, 388, 450, 456, 678, 919, 959, 1884, 1916, 2174, 2685, 3564, 4516, 5465, 10723, 10931, 12601, 14179, 14792, 17368, 17854, 18151, 18929, 19048, 19694, 19882, 25820, 33022, 34831, 35782, 36279, 37808, 38352, 384...
[ 0.02001953125, 0.05859375, 0.001708984375, 0.011474609375, 0.0146484375, 0.037841796875, 0.1162109375, 0.021728515625, 0.007568359375, 0.1181640625, 0.0751953125, 0.2080078125, 0.0751953125, 0.0791015625, 0.04541015625, 0.0771484375, 0.056884765625, 0.12109375, 0.1748046875, 0....
1ef8fbe5-3619-5a9f-b9b3-10cfca77079d
4,416
0
Title: Where can I get the Windows Workflow "wca.exe" application? I am walking through the MS Press Windows Workflow Step-by-Step book and in chapter 8 it mentions a tool with the filename "wca.exe". This is supposed to be able to generate workflow communication helper classes based on an interface you provide it. I ...
136
146
[ ".net" ]
[ ".net-3.5" ]
{"accepted_answer_id":4427,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T05:13:31.020000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2010-10-28T20:01:03.287000+00:00","last_edit_date":"2010-10-28T20:01:03.287000+00:00",...
[ -0.006862640380859375, 0.00046825408935546875, -0.020050048828125, 0.002849578857421875, 0.009490966796875, 0.00017344951629638672, 0.0170745849609375, 0.009307861328125, 0.0047454833984375, 0.00701141357421875, -0.042724609375, 0.0211334228515625, 0.0599365234375, 0.0196990966796875, 0....
[ 5, 18, 56, 58, 70, 87, 148, 159, 382, 408, 434, 442, 450, 617, 831, 959, 1112, 1272, 2046, 2685, 3293, 3773, 4358, 4488, 4738, 7026, 7413, 7440, 11435, 11627, 12877, 16265, 17569, 17777, 19048, 20600, 21072, 22317, 22691, 27985, 35509, ...
[ 0.072265625, 0.087890625, 0.099609375, 0.0625, 0.06689453125, 0.047119140625, 0.1845703125, 0.00146484375, 0.0888671875, 0.279296875, 0.1884765625, 0.04296875, 0.026123046875, 0.1337890625, 0.107421875, 0.08203125, 0.1103515625, 0.031005859375, 0.1513671875, 0.072265625, 0.01...
8089c13d-0d09-5666-9c92-8481431d79fc
4,434
0
Title: Can I configure Visual Studio NOT to change StartUp Project every time I open a file from one of the projects? Let's say that there is a solution that contains two projects (Project1 and Project2). Project1 is set as a StartUp Project (its name is displayed in a bold font). I double-click some file in Project...
134
139
[ ".net" ]
[ ".net", "visual-studio", "ide" ]
{"accepted_answer_id":4443,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T05:50:57.013000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2023-09-08T11:48:36.247000+00:00","last_edit_date":"2017-09-03T12:57:43.017000+00:00",...
[ 0.02520751953125, 0.0139007568359375, -0.0038585662841796875, -0.0019435882568359375, 0.01442718505859375, 0.021209716796875, 0.01177978515625, 0.058197021484375, 0.010955810546875, 0.01519775390625, -0.042633056640625, 0.001369476318359375, 0.01325225830078125, -0.01407623291015625, 0.0...
[ 10, 87, 142, 237, 304, 351, 418, 442, 903, 1284, 1295, 1733, 4171, 5423, 5792, 6626, 9351, 9803, 9844, 10461, 11435, 11907, 12401, 13794, 15549, 22968, 27331, 29806, 35829, 37076, 41929, 44116, 48962, 53234, 54608, 60213, 65665, 70541, 7337...
[ 0.05810546875, 0.003173828125, 0.005126953125, 0.064453125, 0.154296875, 0.0169677734375, 0.052734375, 0.031005859375, 0.028564453125, 0.01220703125, 0.031494140625, 0.087890625, 0.06298828125, 0.1220703125, 0.0245361328125, 0.06298828125, 0.05322265625, 0.1494140625, 0.016357421...
d0fe27d9-da33-5cee-a184-25def8610e1d
4,508
0
Title: MAPI and managed code experiences? Using MAPI functions from within managed code is officially unsupported. Apparently, MAPI uses its own memory management and it crashes and burns within managed code (see here and here) All I want to do is launch the default e-mail client with subject, body, AND one or more ...
162
186
[ ".net" ]
[ ".net", "email", "pinvoke", "mapi" ]
{"accepted_answer_id":38383,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":"2015-08-06T07:59:45.373000+00:00","creation_date":"2008-08-07T07:56:24.327000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net"],"last_activity_date":"2015-08-06T07:12:34.170000+00:00","last_edit_date":"2008...
[ 0.0015211105346679688, -0.03326416015625, 0.0027313232421875, 0.00543212890625, 0.03515625, 0.005580902099609375, 0.0024204254150390625, 0.037750244140625, -0.020782470703125, 0.010986328125, -0.036102294921875, 0.00412750244140625, 0.023040771484375, -0.01282501220703125, 0.006324768066...
[ 12, 28, 51, 136, 188, 276, 297, 345, 674, 678, 934, 959, 1286, 1295, 1632, 2065, 3444, 3611, 4488, 4527, 5915, 8060, 9208, 9267, 10002, 10750, 11814, 13315, 14361, 18151, 19048, 20625, 20653, 23282, 24365, 25919, 28032, 28368, 32354, 3604...
[ 0.0078125, 0.04345703125, 0.08984375, 0.02001953125, 0.2275390625, 0.1474609375, 0.0830078125, 0.0869140625, 0.009521484375, 0.08642578125, 0.1748046875, 0.0634765625, 0.10009765625, 0.04736328125, 0.0223388671875, 0.138671875, 0.059326171875, 0.1689453125, 0.05517578125, 0.092...
528a917a-1a05-5ced-be86-6635c5b81115
4,610
0
Title: How can I create Prototype Methods (like JavaScript) in C#.Net? How is it possible to make prototype methods in C#.Net? In JavaScript, I can do the following to create a trim method for the string object: String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g,""); } How can I go about d...
87
105
[ ".net", "c#" ]
[ "c#", ".net" ]
{"accepted_answer_id":4615,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T12:00:50.540000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2014-12-16T18:35:32.947000+00:00","last_edit_date":"2014-12-16T18:35:32.947000+00...
[ 0.0213775634765625, 0.0264434814453125, 0.004547119140625, 0.0049591064453125, 0.0203094482421875, -0.04345703125, -0.0301055908203125, 0.01605224609375, -0.004634857177734375, 0.006610870361328125, -0.0282135009765625, -0.009033203125, 0.00909423828125, -0.0192413330078125, 0.0117492675...
[ 5, 7, 13, 23, 31, 39, 54, 64, 87, 107, 177, 214, 313, 360, 831, 903, 1328, 1672, 2203, 3249, 3996, 4369, 4904, 5062, 7722, 8353, 11249, 17925, 18606, 20594, 23351, 23935, 24447, 25632, 28282, 30646, 32354, 36746, 41872, 48962, 50986, ...
[ 0.029296875, 0.0240478515625, 0.1484375, 0.044921875, 0.16015625, 0.154296875, 0.007080078125, 0.015380859375, 0.0419921875, 0.043701171875, 0.087890625, 0.050537109375, 0.034912109375, 0.029296875, 0.057373046875, 0.1005859375, 0.080078125, 0.014404296875, 0.016845703125, 0.08...
d47b80c1-dc0d-5ccc-80f0-38b0730ec7ca
4,627
0
Title: Upgrade to ASP.NET 3.x I am currently aware that ASP.NET 2.0 is out and about and that there are 3.x versions of the .Net Framework. Is it possible to upgrade my ASP.NET web server to version 3.x of the .Net Framework? I have tried this, however, when selecting which version of the .Net framwork to use in ...
112
106
[ ".net" ]
[ "asp.net", ".net-3.5" ]
{"accepted_answer_id":4649,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T12:21:25.070000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2012-06-11T12:18:26.050000+00:00","last_edit_date":"2012-06-11T12:18:26.050000+00:00",...
[ -0.015045166015625, -0.0192413330078125, -0.0234832763671875, -0.002567291259765625, 0.0014972686767578125, -0.016632080078125, -0.0207672119140625, 0.01345062255859375, 0.0119781494140625, 0.007904052734375, -0.0386962890625, -0.0224151611328125, 0.021484375, 0.004924774169921875, 0.031...
[ 5, 6, 47, 111, 136, 214, 294, 425, 442, 1031, 1467, 1672, 1810, 1995, 2071, 2674, 4488, 4527, 4734, 7639, 7722, 10091, 10723, 10932, 11389, 16655, 17777, 18244, 22193, 24447, 36849, 37842, 38245, 44286, 48962, 82424, 107419, 116086, 147153,...
[ 0.03466796875, 0.000732421875, 0.126953125, 0.042724609375, 0.06494140625, 0.0140380859375, 0.109375, 0.1650390625, 0.01611328125, 0.208984375, 0.0908203125, 0.083984375, 0.052490234375, 0.142578125, 0.0517578125, 0.1142578125, 0.05322265625, 0.056396484375, 0.0361328125, 0.107...
84701213-b283-54ca-b974-6c619c4f46a0
4,664
0
Title: Should the folders in a solution match the namespace? Should the folders in a solution match the namespace? In one of my teams projects, we have a class library that has many sub-folders in the project. Project Name and Namespace: MyCompany.Project.Section. Within this project, there are several folders t...
174
212
[ ".net", "c#" ]
[ "c#", ".net", "namespaces" ]
{"accepted_answer_id":4672,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":"2024-11-20T14:38:45.430000+00:00","creation_date":"2008-08-07T12:53:19.217000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2024-11-13T12:37:11.097000+00:00","last_edit_date":"...
[ 0.006465911865234375, -0.005077362060546875, -0.010040283203125, 0.009033203125, 0.024322509765625, 0.01116180419921875, 0.0068511962890625, 0.026458740234375, -0.0036029815673828125, -0.0196075439453125, -0.0255126953125, -0.0005645751953125, 0.033538818359375, 0.01393890380859375, 0.02...
[ 7, 23, 70, 100, 294, 360, 365, 820, 979, 1294, 1314, 1614, 2062, 2646, 4848, 4865, 5570, 5941, 6157, 6261, 6620, 7228, 10846, 13452, 14249, 14858, 17664, 18507, 26455, 27331, 29806, 30077, 31852, 35773, 40059, 40368, 42822, 45646, 46471, ...
[ 0.10546875, 0.0361328125, 0.06591796875, 0.0262451171875, 0.080078125, 0.0206298828125, 0.0157470703125, 0.07080078125, 0.06787109375, 0.03955078125, 0.05517578125, 0.134765625, 0.0673828125, 0.064453125, 0.058349609375, 0.00537109375, 0.2099609375, 0.040283203125, 0.115234375, ...
6f071a5a-71ec-5cf2-a77d-f69d45ec7c17
4,816
0
Title: How do you resolve a domain name to an IP address with .NET/C#? How do you resolve a domain name to an IP address with .NET/C#?
38
42
[ ".net", "c#" ]
[ "c#", ".net", "dns", "reverse-dns" ]
{"accepted_answer_id":4821,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T14:56:59.797000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2019-12-27T07:06:30.937000+00:00","last_edit_date":"2012-07-18T17:17:40.483000+00...
[ 0.0218963623046875, -0.0217742919921875, -0.0287628173828125, -0.0221405029296875, -0.0006508827209472656, 0.0044403076171875, -0.0155029296875, 0.00030875205993652344, -0.01012420654296875, -0.01207733154296875, -0.05682373046875, -0.000736236572265625, 0.040252685546875, -0.0221405029296...
[ 5, 6, 12, 32, 47, 54, 64, 398, 441, 678, 4904, 8021, 9351, 11249, 17777, 29823, 48962, 77758, 103608 ]
[ 0.08642578125, 0.042236328125, 0.0157470703125, 0.000732421875, 0.1796875, 0.06103515625, 0.0810546875, 0.0184326171875, 0.051513671875, 0.1025390625, 0.2099609375, 0.19140625, 0.15625, 0.11328125, 0.236328125, 0.1357421875, 0.08984375, 0.177734375, 0.224609375 ]
8299af9f-5257-510d-adfa-e78bce1e7c87
4,913
0
Title: How to make a button appear as if it is pressed? Using VS2008, C#, .Net 2 and Winforms how can I make a regular Button look "pressed"? Imagine this button is an on/off switch. ToolStripButton has the Checked property, but the regular Button does not.
66
73
[ ".net", "c#" ]
[ "c#", ".net", "winforms", "user-interface", "button" ]
{"accepted_answer_id":4924,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T16:21:59.280000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2017-12-22T10:09:05.793000+00:00","last_edit_date":"2017-12-22T10:09:05.793000+00...
[ 0.0126190185546875, -0.005680084228515625, 0.0110626220703125, 0.0184173583984375, 0.0113067626953125, -0.002048492431640625, -0.0111846923828125, 0.031341552734375, -0.0029010772705078125, 0.01447296142578125, -0.0150146484375, 0.03253173828125, 0.048553466796875, -0.006191253662109375, ...
[ 7, 47, 71, 83, 98, 116, 237, 297, 601, 1507, 2174, 3249, 3642, 4904, 6713, 11249, 11856, 16396, 16713, 20324, 24447, 30501, 38679, 44160, 46334, 48962, 57266, 59623, 77679, 82212, 92285, 101089, 108975, 133196, 144037 ]
[ 0.0302734375, 0.0196533203125, 0.138671875, 0.052978515625, 0.0810546875, 0.01318359375, 0.1220703125, 0.1435546875, 0.0517578125, 0.0830078125, 0.1162109375, 0.091796875, 0.0140380859375, 0.0859375, 0.1767578125, 0.057373046875, 0.2041015625, 0.1845703125, 0.146484375, 0.12890...
3e8fec20-1e1b-5624-b3a7-3d3df51342b4
4,930
0
Title: How to reference to multiple version assembly I'm developing a Sharepoint application and use .NET AjaxControlToolkit library, we are adding a custom aspx page to the Sharepoint. Sharepoint 2007 run in quirks mode so I've made some modification to the AJAX library to make it behave like it normally should. The ...
285
298
[ ".net", "c#" ]
[ "c#", ".net", "sharepoint", "assemblies" ]
{"accepted_answer_id":null,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T16:35:33.060000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2020-02-24T11:02:21.587000+00:00","last_edit_date":"2020-02-24T11:02:21.587000+0...
[ 0.01509857177734375, -0.0238037109375, 0.0073699951171875, -0.00061798095703125, 0.01166534423828125, 0.016693115234375, -0.01421356201171875, 0.0252227783203125, 0.00864410400390625, 0.00618743896484375, -0.03411865234375, 0.0017614364624023438, 0.0113677978515625, 0.0191802978515625, 0...
[ 10, 47, 71, 110, 145, 425, 527, 569, 1098, 1181, 1294, 1632, 2394, 2691, 2967, 3642, 4358, 4527, 4677, 4734, 5665, 5701, 7175, 7190, 7709, 7909, 9185, 9191, 9351, 9486, 9488, 11249, 11389, 11675, 12921, 13736, 15005, 15012, 15612, 16934, ...
[ 0.019775390625, 0.0732421875, 0.0078125, 0.03173828125, 0.056640625, 0.041259765625, 0.0184326171875, 0.0361328125, 0.076171875, 0.142578125, 0.013916015625, 0.09912109375, 0.1728515625, 0.1083984375, 0.0269775390625, 0.0194091796875, 0.0179443359375, 0.134765625, 0.0810546875, ...
56587061-88c7-5789-9137-30cc1d42b4fe
5,002
0
Title: .NET Remoting Speed and VPNs I'm working on a project which uses .NET Remoting for communication between the client application and an object server. For development, the client, server, and MSSQL database are all running on my local development machine. When I'm working at the office, the responsiveness is ...
174
190
[ ".net" ]
[ ".net", "remoting", "performance", "vpn", "wireless" ]
{"accepted_answer_id":null,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T17:21:58.800000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net"],"last_activity_date":"2009-10-16T19:03:26.060000+00:00","last_edit_date":null,"question_id":5002,"score":9,...
[ -0.01210784912109375, -0.0159912109375, -0.0579833984375, 0.01038360595703125, 0.0194549560546875, -0.0189666748046875, 0.00942230224609375, 0.027435302734375, 0.0218353271484375, 0.0005888938903808594, -0.01419830322265625, 0.0232696533203125, 0.00829315185546875, 0.01324462890625, -0.0...
[ 5, 56, 83, 98, 136, 432, 756, 853, 1257, 1916, 2837, 3229, 3642, 4000, 4263, 4393, 4488, 4527, 5368, 5773, 5885, 6275, 7565, 8305, 10723, 13452, 14847, 15504, 16265, 17721, 17777, 20697, 23179, 23282, 25647, 26818, 29367, 32599, 34754, 36...
[ 0.050537109375, 0.06298828125, 0.001953125, 0.00927734375, 0.04931640625, 0.162109375, 0.0208740234375, 0.0859375, 0.08154296875, 0.142578125, 0.06591796875, 0.04150390625, 0.031005859375, 0.1748046875, 0.01318359375, 0.0703125, 0.1142578125, 0.04638671875, 0.130859375, 0.14941...
5fb472de-2855-56db-a0a8-b56587f4400d
5,194
0
Title: When to use an extension method with lambda over LINQtoObjects to filter a collection? I am prototyping some C# 3 collection filters and came across this. I have a collection of products: public class MyProduct { public string Name { get; set; } public Double Price { get; set; } public string Desc...
311
287
[ ".net", "c#" ]
[ "c#", "linq", ".net-3.5", "lambda" ]
{"accepted_answer_id":5199,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T19:23:13.127000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2014-06-17T17:21:54.600000+00:00","last_edit_date":"2014-06-17T17:21:54.600000+00...
[ 0.0178680419921875, -0.0010652542114257812, -0.001873016357421875, 0.0171661376953125, 0.01081085205078125, -0.01528167724609375, -0.01739501953125, 0.01010894775390625, 0.007640838623046875, 0.006992340087890625, -0.016693115234375, 0.0195159912109375, -0.00858306884765625, 0.002174377441...
[ 4, 5, 7, 15, 18, 21, 47, 70, 71, 74, 85, 100, 104, 138, 188, 237, 285, 313, 329, 398, 645, 678, 830, 836, 1221, 1238, 1242, 1286, 1456, 1632, 2046, 2203, 2646, 2676, 2737, 2740, 3525, 3789, 3835, 3882, 4517, 4527, 4904, 5046, 52...
[ 0.007568359375, 0.005859375, 0.00732421875, 0.008056640625, 0.005615234375, 0.08984375, 0.00732421875, 0.007080078125, 0.0830078125, 0.007080078125, 0.2060546875, 0.00439453125, 0.140625, 0.15625, 0.216796875, 0.007568359375, 0.126953125, 0.0283203125, 0.0078125, 0.031982421875...
701ab7e0-b96e-5b73-97c9-10e01de98ca1
5,263
0
Title: How do you persist a tree structure to a database table with auto incrementing IDs using an ADO.NET DataSet and a DataAdapter I have a self-referential Role table that represents a tree structure ID [INT] AUTO INCREMENT Name [VARCHAR] ParentID [INT] I am using an ADO.NET DataTable and DataAdapter to load a...
215
276
[ ".net" ]
[ ".net", "database", "ado.net" ]
{"accepted_answer_id":24472,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T20:23:51.057000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2008-10-01T11:29:58.593000+00:00","last_edit_date":null,"question_id":5263,"score":8,...
[ 0.0284271240234375, -0.0204620361328125, 0.0179595947265625, -0.0203399658203125, 0.0110015869140625, -0.006603240966796875, 0.026763916015625, 0.00951385498046875, 0.037109375, 0.0271148681640625, -0.037811279296875, 0.017730712890625, -0.0075836181640625, -0.0024242401123046875, -0.017...
[ 5, 7, 47, 54, 70, 87, 111, 126, 133, 136, 214, 294, 316, 398, 434, 618, 720, 765, 903, 1052, 1809, 2053, 2517, 2631, 2777, 2886, 3229, 3249, 3293, 3365, 3509, 3525, 3934, 4028, 4332, 4734, 5361, 5423, 7146, 7730, 7763, 11249, 11338,...
[ 0.0184326171875, 0.0234375, 0.115234375, 0.043212890625, 0.012451171875, 0.013427734375, 0.00732421875, 0.115234375, 0.06787109375, 0.06982421875, 0.0177001953125, 0.1103515625, 0.072265625, 0.00927734375, 0.10498046875, 0.1171875, 0.15625, 0.00439453125, 0.002197265625, 0.1328...
123da77b-b03e-53e9-a369-0ea3f66d24a7
5,704
0
Title: Is there a lightweight, preferable open source, formattable label control for .NET? I have been looking for a way to utilize a simple markup language, or just plain HTML, when displaying text in WinForm applications. I would like to avoid embedding a web browser control since in most of the case I just want to ...
179
186
[ ".net" ]
[ ".net" ]
{"accepted_answer_id":null,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T05:36:12.487000+00:00","has_accepted_answer":false,"is_closed":false,"languages":[".net"],"last_activity_date":"2021-01-07T08:15:19.127000+00:00","last_edit_date":"2021-01-07T08:15:19.127000+00:00"...
[ 0.0236663818359375, -0.00923919677734375, -0.007328033447265625, 0.0079498291015625, -0.006977081298828125, -0.002605438232421875, -0.0111846923828125, 0.030029296875, -0.00391387939453125, 0.014007568359375, -0.0168304443359375, 0.020599365234375, 0.0229644775390625, -0.000041365623474121...
[ 4, 5, 83, 100, 601, 627, 1108, 1467, 1884, 1916, 2565, 2685, 2806, 2886, 3293, 3444, 3917, 4785, 6226, 6626, 7722, 7986, 8781, 9384, 9803, 11001, 11322, 12401, 12601, 12921, 13267, 16487, 17686, 17777, 19097, 22021, 22729, 22819, 23468, 3...
[ 0.001220703125, 0.04248046875, 0.009521484375, 0.00927734375, 0.01318359375, 0.06787109375, 0.06689453125, 0.00634765625, 0.0322265625, 0.04150390625, 0.0888671875, 0.00634765625, 0.003662109375, 0.0284423828125, 0.06640625, 0.011474609375, 0.0078125, 0.0213623046875, 0.24609375,...
6b18e944-20e4-5f30-9f7a-155beb16aa97
5,743
0
Title: What is a good plotting library for .Net? I'm writing some data acquisition software and need a gui plotting library that is fast enough to do realtime updated graphs. I've been using Nplot which is pretty good for a free library, but I'm wondering if there are any better libraries (preferably free or cheap).
69
85
[ ".net" ]
[ ".net", "windows", "graphing" ]
{"accepted_answer_id":5771,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":"2017-03-02T08:27:55.833000+00:00","creation_date":"2008-08-08T06:40:46.553000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net"],"last_activity_date":"2009-06-27T10:43:49.470000+00:00","last_edit_date":null,"...
[ 0.022308349609375, -0.0027294158935546875, -0.03021240234375, 0.01180267333984375, 0.016876220703125, -0.009674072265625, -0.0128021240234375, 0.0015783309936523438, 0.027618408203125, 0.0013790130615234375, -0.0279693603515625, 0.016876220703125, 0.0271453857421875, -0.028076171875, 0.0...
[ 5, 10, 83, 87, 100, 272, 541, 1294, 1916, 2053, 2499, 2773, 2809, 2875, 3129, 3871, 4092, 4127, 4271, 4865, 6032, 10484, 10975, 11522, 17086, 17368, 20174, 23577, 24447, 28875, 32562, 35773, 41382, 48962, 64720, 105710, 149016, 150011, 1724...
[ 0.0625, 0.032958984375, 0.034912109375, 0.0147705078125, 0.06298828125, 0.01171875, 0.119140625, 0.1513671875, 0.1611328125, 0.032958984375, 0.007568359375, 0.07568359375, 0.0283203125, 0.037109375, 0.0262451171875, 0.078125, 0.103515625, 0.1171875, 0.10205078125, 0.02307128906...
c133ef7e-f431-57aa-a80a-1113f9478c03
5,863
0
Title: WCF Service - Backward compatibility issue I'm just getting into creating some WCF services, but I have a requirement to make them backward compatible for legacy (.NET 1.1 and 2.0) client applications. I've managed to get the services to run correctly for 3.0 and greater clients, but when I publish the servi...
444
527
[ ".net", "c#" ]
[ "c#", ".net", "wcf", "web-services", "backwards-compatibility" ]
{"accepted_answer_id":15966,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T12:48:25.197000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2011-12-13T19:43:04.983000+00:00","last_edit_date":"2011-12-13T19:43:04.983000+0...
[ -0.0303802490234375, -0.0007185935974121094, 0.0125732421875, 0.00827789306640625, -0.00786590576171875, -0.028839111328125, -0.01727294921875, 0.03289794921875, 0.00281524658203125, -0.0013704299926757812, -0.0244293212890625, 0.043609619140625, 0.03265380859375, 0.0167999267578125, 0.0...
[ 7, 40, 136, 237, 254, 297, 402, 456, 587, 759, 831, 856, 882, 903, 919, 987, 1621, 1660, 1810, 1884, 2292, 2408, 2481, 3062, 3257, 3564, 3611, 3835, 3871, 4027, 4332, 4420, 4516, 4836, 5351, 7136, 7565, 7763, 9774, 10135, 10644, 10974...
[ 0.038818359375, 0.0927734375, 0.011962890625, 0.0159912109375, 0.013427734375, 0.1162109375, 0.04150390625, 0.05517578125, 0.119140625, 0.0225830078125, 0.029541015625, 0.07177734375, 0.142578125, 0.007568359375, 0.2392578125, 0.173828125, 0.000732421875, 0.0107421875, 0.03955078...
b5d5d61e-6c3e-5a6a-a34e-277fb38600f2
5,997
0
Title: Should I provide accessor methods / Getter Setters for public/protected components on a form? If I have .Net Form with a component/object such as a textbox that I need to access from a parent or other form I obviously need to "upgrade" the modifier to this component to an Internal or Public level variable. No...
192
214
[ ".net" ]
[ ".net", "winforms" ]
{"accepted_answer_id":6018,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T14:35:25.353000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2021-10-25T12:23:28.773000+00:00","last_edit_date":"2015-10-08T00:57:25.790000+00:00",...
[ 0.0081024169921875, 0.01715087890625, -0.0177459716796875, -0.0092315673828125, 0.0009493827819824219, -0.015960693359375, -0.00092315673828125, 0.0275115966796875, 0.01399993896484375, 0.0203704833984375, -0.048370361328125, 0.01512908935546875, 0.0264434814453125, -0.0176239013671875, ...
[ 5, 18, 23, 42, 100, 503, 959, 1314, 2037, 2206, 3055, 3173, 3674, 3835, 3871, 4127, 4233, 6044, 7986, 8951, 9969, 10644, 10932, 11728, 13580, 15236, 16934, 17203, 17366, 17368, 18507, 20779, 22691, 23962, 24447, 29479, 36746, 41361, 44160, ...
[ 0.0162353515625, 0.038818359375, 0.03369140625, 0.1240234375, 0.0029296875, 0.166015625, 0.047119140625, 0.1650390625, 0.07958984375, 0.18359375, 0.26171875, 0.2236328125, 0.047119140625, 0.1513671875, 0.005615234375, 0.0791015625, 0.166015625, 0.0224609375, 0.099609375, 0.0830...
817576bd-ff9d-5804-ae2d-789775202252
6,113
0
Title: What is the best way to store connection string in .NET DLLs? The application my team is currently developing has a DLL that is used to perform all database access. The application can not use a trusted connection because the database is behind a firewall and the domain server is not. So it appears that the con...
337
375
[ ".net" ]
[ ".net", "sql-server", "connection-string" ]
{"accepted_answer_id":6117,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T16:32:30.440000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2015-12-15T14:38:20.887000+00:00","last_edit_date":"2013-01-09T06:07:18.333000+00:00",...
[ -0.0223846435546875, -0.012969970703125, -0.01385498046875, -0.0182342529296875, 0.012969970703125, 0.0024566650390625, -0.007579803466796875, 0.003997802734375, 0.0175323486328125, -0.004558563232421875, -0.04144287109375, 0.001369476318359375, 0.005092620849609375, -0.0034923553466796875...
[ 4, 5, 6, 7, 10, 16, 18, 22, 23, 25, 31, 47, 67, 70, 71, 83, 87, 98, 99, 107, 111, 136, 186, 214, 221, 237, 297, 391, 442, 450, 566, 642, 756, 765, 831, 959, 1181, 1284, 1295, 1305, 1467, 1810, 2053, 2182, 2301, 2363, 2750, ...
[ 0.014892578125, 0.010498046875, 0.013427734375, 0.02978515625, 0.0145263671875, 0.01318359375, 0.01416015625, 0.0206298828125, 0.01513671875, 0.0145263671875, 0.01904296875, 0.030029296875, 0.013427734375, 0.0150146484375, 0.0142822265625, 0.0146484375, 0.013916015625, 0.0144042968...
0d1cdba8-c400-5d95-9eec-a76727c5f907
6,173
0
Title: Regular expression for parsing links from a webpage? I'm looking for a .NET regular expression extract all the URLs from a webpage but haven't found one to be comprehensive enough to cover all the different ways you can specify a link. And a side question: Is there one regex to rule them all? Or am I bette...
98
110
[ ".net", "html" ]
[ ".net", "html", "regex" ]
{"accepted_answer_id":6183,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T17:24:19.100000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","html"],"last_activity_date":"2019-04-10T16:22:20.287000+00:00","last_edit_date":"2017-12-16T22:04:58.370000+...
[ 0.032135009765625, 0.0026302337646484375, -0.02423095703125, -0.029541015625, -0.0152435302734375, -0.00490570068359375, -0.013885498046875, -0.0035152435302734375, -0.0018167495727539062, 0.007061004638671875, -0.039947509765625, -0.01116943359375, 0.00910186767578125, 0.00407791137695312...
[ 5, 7, 42, 70, 100, 366, 756, 1295, 1467, 1632, 3126, 3355, 5773, 6835, 6953, 8705, 9655, 10922, 11522, 12321, 12921, 16487, 17777, 18929, 19097, 20209, 20324, 21144, 22317, 22469, 25500, 26548, 29256, 31862, 36549, 40140, 40715, 41159, 4788...
[ 0.012451171875, 0.0859375, 0.09326171875, 0.01513671875, 0.052734375, 0.166015625, 0.0966796875, 0.107421875, 0.0810546875, 0.05908203125, 0.21484375, 0.18359375, 0.041748046875, 0.1552734375, 0.1318359375, 0.0634765625, 0.027099609375, 0.1083984375, 0.052734375, 0.041259765625...
9f5651b8-1cb8-5021-a632-10352585b7ea
6,184
0
Title: How do I make event callbacks into my win forms thread safe? When you subscribe to an event on an object from within a form, you are essentially handing over control of your callback method to the event source. You have no idea whether that event source will choose to trigger the event on a different thread. ...
115
127
[ ".net", "c#" ]
[ "c#", ".net", "winforms", "multithreading", "events" ]
{"accepted_answer_id":6211,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T17:32:41.783000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2019-01-20T13:58:49.230000+00:00","last_edit_date":"2019-01-20T13:58:49.230000+00...
[ 0.01256561279296875, 0.0152130126953125, -0.0110015869140625, -0.0159912109375, 0, -0.026824951171875, -0.0123291015625, 0.0111846923828125, 0.0217742919921875, 0.02020263671875, -0.030181884765625, 0.0014362335205078125, -0.004238128662109375, 0.00763702392578125, 0.0171966552734375, ...
[ 7, 23, 47, 54, 98, 110, 214, 645, 1295, 1614, 2967, 3173, 3249, 3535, 3934, 6226, 6528, 11249, 11675, 11782, 12620, 12921, 14847, 19732, 19916, 23253, 28032, 28350, 31344, 34601, 35839, 36746, 41591, 46002, 48962, 53418, 55076, 55300, 68018...
[ 0.03466796875, 0.00732421875, 0.05322265625, 0.013671875, 0.06298828125, 0.0087890625, 0.021728515625, 0.051025390625, 0.078125, 0.1875, 0.166015625, 0.2470703125, 0.076171875, 0.07421875, 0.09375, 0.1962890625, 0.0732421875, 0.068359375, 0.030517578125, 0.2158203125, 0.27734...
e1edd472-f5b5-556b-beaa-f8645532f7fe
6,207
0
Title: Experiences of the Smart Client Software Factory Has anyone had any experience in building a 'real world' application with the Smart Client Software Factory, from Microsofts Patterns and Practices group? I'm looking for advice on how difficult it was to master, whether it decreased your time to market and any o...
67
72
[ ".net" ]
[ ".net", "scsf" ]
{"accepted_answer_id":281143,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T17:59:41.230000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2017-09-11T14:46:35.740000+00:00","last_edit_date":"2017-09-11T14:46:35.740000+00:00...
[ 0.00027823448181152344, 0.011871337890625, -0.005519866943359375, 0.026123046875, 0.031341552734375, -0.0159149169921875, 0.0019741058349609375, 0.018402099609375, 0.007183074951171875, 0.003978729248046875, -0.031341552734375, 0.00860595703125, 0.03253173828125, 0.02398681640625, 0.0295...
[ 7, 23, 70, 71, 111, 136, 509, 678, 1295, 1733, 1902, 2499, 3642, 4537, 7244, 8999, 9876, 13380, 16487, 16839, 16981, 19204, 20625, 21115, 22766, 23752, 30544, 31347, 33976, 34844, 35672, 38415, 48962, 49269, 67660, 91732, 109613, 135634, 14...
[ 0.03173828125, 0.001953125, 0.0712890625, 0.011962890625, 0.080078125, 0.11328125, 0.0673828125, 0.1416015625, 0.06201171875, 0.06640625, 0.0888671875, 0.056884765625, 0.012939453125, 0.03271484375, 0.17578125, 0.1728515625, 0.11328125, 0.0673828125, 0.05908203125, 0.1083984375...
60ebbc4c-7a1c-58cd-8f60-b5ae3d6a0404
6,210
0
Title: E-mail Notifications In a .net system I'm building, there is a need for automated e-mail notifications. These should be editable by an admin. What's the easiest way to do this? SQL table and WYSIWIG for editing? The queue is a great idea. I've been throwing around that type of process for awhile with my old ...
78
94
[ ".net" ]
[ ".net", "email" ]
{"accepted_answer_id":6213,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T18:04:24.950000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2016-11-20T00:25:16.067000+00:00","last_edit_date":"2011-11-25T01:24:21.307000+00:00",...
[ 0.0101165771484375, 0.00667572021484375, 0.00946807861328125, 0.0163421630859375, 0.01134490966796875, -0.01788330078125, -0.0015583038330078125, 0.056915283203125, -0.0203399658203125, 0.03668212890625, -0.032684326171875, 0.0181121826171875, 0.03033447265625, 0.01229095458984375, 0.018...
[ 5, 7, 9, 28, 41, 47, 54, 83, 100, 136, 214, 241, 297, 390, 525, 581, 724, 903, 1179, 1544, 2065, 2886, 3871, 3917, 5426, 5608, 6528, 6782, 9433, 9902, 10332, 10644, 10932, 11205, 11408, 13388, 14380, 18022, 23180, 27211, 33976, 38969,...
[ 0.0194091796875, 0.03857421875, 0.04638671875, 0.09326171875, 0.1279296875, 0.0201416015625, 0.058349609375, 0.036376953125, 0.0169677734375, 0.03857421875, 0.07421875, 0.06396484375, 0.09375, 0.0185546875, 0.072265625, 0.013671875, 0.1103515625, 0.024169921875, 0.142578125, 0....
078cab0a-dbaa-516d-bcee-dac0ca1bbe9d
6,284
0
Title: VS 2008 - Objects disappearing? I've only been using VS 2008 Team Foundation for a few weeks. Over the last few days, I've noticed that sometimes one of my objects/controls on my page just disappears from intellisense. The project builds perfectly and the objects are still in the HTML, but I still can't find th...
115
115
[ ".net" ]
[ ".net", "visual-studio", "tfs" ]
{"accepted_answer_id":7167,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T19:24:43.710000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2013-12-02T12:53:56.637000+00:00","last_edit_date":"2013-12-02T12:53:56.637000+00:00",...
[ 0.0304718017578125, 0.0014095306396484375, -0.00617218017578125, -0.0028781890869140625, 0.03826904296875, 0.0104522705078125, 0.0008487701416015625, 0.03472900390625, 0.004604339599609375, -0.00658416748046875, -0.019256591796875, -0.0011510848999023438, -0.0040435791015625, 0.00602340698...
[ 7, 18, 23, 64, 111, 184, 214, 442, 759, 831, 892, 1257, 1284, 1295, 1632, 1660, 2021, 3714, 4420, 4734, 7413, 7464, 9191, 9803, 10846, 11399, 13312, 13438, 13452, 17368, 19097, 20903, 27077, 32497, 32807, 36746, 40859, 44160, 45367, 48962...
[ 0.08251953125, 0.0869140625, 0.042724609375, 0.001953125, 0.017822265625, 0.06689453125, 0.0888671875, 0.0277099609375, 0.031982421875, 0.0986328125, 0.0693359375, 0.0302734375, 0.012451171875, 0.0625, 0.019287109375, 0.031005859375, 0.2421875, 0.051025390625, 0.130859375, 0.01...
0e88dc08-8980-5b98-a163-797457c02f67
6,301
0
Title: Why is Array.Length an int, and not an uint Why is Array.Length an int, and not a uint. This bothers me (just a bit) because a length value can never be negative. This also forced me to use an int for a length-property on my own class, because when you specify an int-value, this needs to be cast explicitly.....
104
129
[ ".net", "c#" ]
[ "c#", ".net", "int", "uint" ]
{"accepted_answer_id":6320,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":"2013-04-15T02:48:31.623000+00:00","creation_date":"2008-08-08T19:34:13.503000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net","c#"],"last_activity_date":"2019-01-20T13:58:39.503000+00:00","last_edit_date":"...
[ 0.019866943359375, -0.016204833984375, -0.01006317138671875, -0.00841522216796875, 0.00974273681640625, -0.01531219482421875, -0.00235748291015625, 0.017974853515625, -0.0020732879638671875, -0.01392364501953125, -0.03924560546875, -0.0072784423828125, 0.00150299072265625, -0.0254364013671...
[ 5, 10, 18, 23, 34, 51, 53, 56, 75, 83, 100, 136, 142, 449, 831, 927, 959, 1314, 2499, 2685, 2856, 4288, 4527, 4785, 5267, 7244, 8306, 9655, 10002, 15044, 18507, 20654, 27494, 31304, 34292, 36290, 37702, 40140, 40907, 44084, 69253, 140...
[ 0.06494140625, 0.03759765625, 0.21484375, 0.1806640625, 0.138671875, 0.10009765625, 0.1826171875, 0.0400390625, 0.1318359375, 0.08740234375, 0.018310546875, 0.02490234375, 0.0810546875, 0.1787109375, 0.033935546875, 0.1982421875, 0.1181640625, 0.0537109375, 0.03466796875, 0.000...
252debf6-c388-55d8-8ec3-968591a361e8
6,325
0
Title: Why are unsigned int's not CLS compliant? Why are unsigned integers not CLS compliant? I am starting to think the type specification is just for performance and not for correctness.
41
53
[ ".net", "c#" ]
[ "c#", ".net", "unsigned-integer", "cls-compliant" ]
{"accepted_answer_id":6333,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T19:55:39.920000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2016-01-05T21:24:50.133000+00:00","last_edit_date":"2013-10-10T15:15:32.633000+00...
[ 0.01546478271484375, -0.0117340087890625, -0.0116729736328125, 0.0006265640258789062, 0.0116729736328125, -0.0008363723754882812, -0.022857666015625, 0.017120361328125, -0.0038051605224609375, 0.0006380081176757812, -0.03448486328125, 0.024566650390625, 0.00812530517578125, -0.015586853027...
[ 18, 23, 51, 150, 297, 313, 621, 892, 959, 1236, 5351, 9969, 10644, 19759, 23718, 26255, 26785, 29458, 31304, 44084 ]
[ 0.109375, 0.04443359375, 0.1142578125, 0.08984375, 0.05908203125, 0.064453125, 0.009521484375, 0.140625, 0.1171875, 0.0693359375, 0.01318359375, 0.0888671875, 0.1748046875, 0.21484375, 0.09912109375, 0.08935546875, 0.06005859375, 0.1376953125, 0.1953125, 0.0986328125 ]
df53f9c7-33b3-547a-a6d5-19b7c06de0f3
6,406
0
Title: How to access .Net element on Master page from a Content page? Is it possible to access an element on a Master page from the page loaded within the ContentPlaceHolder for the master? I have a ListView that lists people's names in a navigation area on the Master page. I would like to update the ListView after ...
259
298
[ ".net", "c#" ]
[ "c#", ".net" ]
{"accepted_answer_id":6412,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T21:39:04.283000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2016-02-11T09:54:13.050000+00:00","last_edit_date":"2016-02-11T09:54:13.050000+00...
[ -0.0013933181762695312, -0.01334381103515625, -0.0099639892578125, -0.0305938720703125, 0.026214599609375, -0.00232696533203125, 0.00759124755859375, -0.00231170654296875, 0.01209259033203125, 0.0264434814453125, -0.01055145263671875, -0.0221710205078125, 0.009368896484375, -0.00830078125,...
[ 5, 98, 132, 143, 456, 527, 571, 820, 959, 1295, 1660, 1884, 2053, 2965, 3395, 3445, 4439, 4527, 4904, 5303, 7077, 7103, 7250, 7722, 9191, 9969, 10941, 11249, 11675, 12830, 15270, 16128, 16428, 17203, 18499, 18897, 19048, 22751, 23180, 241...
[ 0.0146484375, 0.009033203125, 0.0274658203125, 0.107421875, 0.044189453125, 0.024658203125, 0.0947265625, 0.109375, 0.032470703125, 0.06396484375, 0.00634765625, 0.026123046875, 0.1162109375, 0.01025390625, 0.10693359375, 0.1103515625, 0.0146484375, 0.00927734375, 0.1435546875, ...
060f39e4-f7aa-58fe-8275-85b8c048daed
6,440
0
Title: .NET 3.5 Redistributable -- 200 MB? Other options? I've been using a lot of new .NET 3.5 features in the work that I've been doing, lately. The application that I'm building is intended for distribution among consumers who will probably not have the latest version (or perhaps any version) of the .NET framework ...
264
272
[ ".net" ]
[ ".net", "redistributable" ]
{"accepted_answer_id":6445,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T22:32:01.243000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2010-09-07T16:55:31.393000+00:00","last_edit_date":null,"question_id":6440,"score":19,...
[ -0.0024585723876953125, -0.01509857177734375, -0.0244598388671875, -0.009307861328125, 0.0003292560577392578, -0.0139312744140625, -0.007724761962890625, 0.0174407958984375, 0.01012420654296875, -0.00994873046875, -0.045654296875, 0.0029125213623046875, 0.034423828125, -0.0113525390625, ...
[ 5, 38, 51, 83, 100, 111, 136, 765, 853, 903, 959, 978, 1221, 1286, 1733, 1781, 2060, 2298, 2394, 2446, 2704, 2799, 3181, 3293, 3501, 3525, 3789, 4488, 4527, 4734, 5915, 6626, 7026, 7563, 7722, 9077, 9393, 11389, 12918, 13267, 13695, 1...
[ 0.0908203125, 0.0216064453125, 0.0693359375, 0.006103515625, 0.014892578125, 0.01708984375, 0.001953125, 0.01171875, 0.0947265625, 0.033447265625, 0.068359375, 0.142578125, 0.05859375, 0.08984375, 0.095703125, 0.2294921875, 0.0218505859375, 0.1962890625, 0.1376953125, 0.0151367...
4f763778-21db-5fd6-b5d5-06792d8401cb
6,557
0
Title: In C#, why can't a List<string> object be stored in a List<object> variable It seems that a List object cannot be stored in a List variable in C#, and can't even be explicitly cast that way. List<string> sl = new List<string>(); List<object> ol; ol = sl; results in Cannot implicitly convert type System.Coll...
171
217
[ ".net", "c#" ]
[ "c#", ".net", "generics", "covariance", "type-safety" ]
{"accepted_answer_id":6567,"answer_count":14,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T02:32:01.507000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2017-04-27T09:52:30.337000+00:00","last_edit_date":"2012-09-27T04:25:55.163000+0...
[ 0.019012451171875, 0.006305694580078125, -0.0240325927734375, 0.0108184814453125, -0.007320404052734375, 0.00286865234375, 0.0051116943359375, 0.027130126953125, 0.038482666015625, 0.00753021240234375, -0.021636962890625, -0.004482269287109375, -0.03466796875, -0.01404571533203125, -0.01...
[ 10, 18, 23, 47, 54, 71, 313, 360, 831, 1632, 1733, 1810, 2203, 3525, 3917, 4171, 4343, 4420, 4904, 4998, 5303, 8996, 10644, 10869, 12353, 15400, 20505, 23232, 24861, 26818, 29806, 32036, 36746, 37202, 37702, 48962, 50065, 50339, 53418, 77...
[ 0.008056640625, 0.111328125, 0.11328125, 0.04541015625, 0.0198974609375, 0.109375, 0.06982421875, 0.012939453125, 0.11328125, 0.03369140625, 0.0296630859375, 0.029541015625, 0.01123046875, 0.046875, 0.003173828125, 0.044677734375, 0.2109375, 0.03857421875, 0.21484375, 0.1230468...
d1ac5618-9af7-5327-9286-60e768aeca05
6,666
0
Title: Web Services -- WCF vs. ASMX ("Standard") I am working on a new project. Is there any benefit with going with a WCF web service over a regular old fashion web service? Visual Studio offers templates for both. What are the differences? Pros and cons?
61
64
[ ".net" ]
[ ".net", "wcf", "web-services", "visual-studio", "asmx" ]
{"accepted_answer_id":7005,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T06:50:22.703000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2013-10-13T20:57:08.747000+00:00","last_edit_date":"2013-10-13T20:57:08.747000+00:00",...
[ -0.01334381103515625, -0.030487060546875, -0.0043792724609375, 0.00899505615234375, 0.01209259033203125, -0.0128631591796875, -0.0188140869140625, 0.03167724609375, -0.0067291259765625, 0.0300140380859375, -0.037872314453125, 0.005123138427734375, 0.033355712890625, 0.03240966796875, 0.0...
[ 5, 7, 10, 100, 136, 158, 645, 678, 919, 1250, 1467, 2071, 2499, 2685, 3525, 4002, 4210, 4516, 6483, 7730, 10332, 13452, 15044, 20209, 20324, 20697, 22968, 37808, 40583, 48962, 54543, 60212, 64600, 68073, 73372, 88939, 110934, 191769 ]
[ 0.05712890625, 0.001220703125, 0.03515625, 0.024169921875, 0.019287109375, 0.1201171875, 0.056640625, 0.061279296875, 0.259765625, 0.09619140625, 0.1435546875, 0.018798828125, 0.07275390625, 0.0240478515625, 0.0228271484375, 0.1162109375, 0.00634765625, 0.1845703125, 0.099609375,...
b703ca2b-7cf3-54e4-a8de-bd797c08b5e2
6,719
0
Title: Master Pages for large web sites I've just been learning about master pages in ASP.NET 2.0. They sound great, but how well do they work in practice? Does anybody have experience of using them for a large web site?
55
53
[ ".net" ]
[ "asp.net", ".net", "master-pages", "asp.net-2.0" ]
{"accepted_answer_id":6720,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T09:51:37.533000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2012-09-11T00:01:18.127000+00:00","last_edit_date":"2012-09-11T00:01:18.127000+00:00",...
[ 0.0091094970703125, 0.001071929931640625, -0.01357269287109375, 0.00016891956329345703, 0.0296173095703125, -0.01227569580078125, -0.03289794921875, 0.0281982421875, 0.02362060546875, 0.0145721435546875, -0.03173828125, 0.0023937225341796875, 0.0159759521484375, 0.016448974609375, 0.0286...
[ 5, 7, 23, 54, 100, 765, 1284, 1467, 1660, 1672, 1764, 1836, 2499, 2809, 2856, 3642, 4488, 5299, 6782, 10660, 14231, 15271, 16655, 16981, 17368, 17777, 18897, 21334, 31347, 37873, 37967, 41361, 45730, 48962, 52080, 147153 ]
[ 0.0184326171875, 0.1279296875, 0.003662109375, 0.061767578125, 0.1162109375, 0.0250244140625, 0.0213623046875, 0.09814453125, 0.013427734375, 0.061279296875, 0.126953125, 0.07568359375, 0.007568359375, 0.011474609375, 0.0947265625, 0.052734375, 0.150390625, 0.11328125, 0.10058593...
6e0c4ae6-5ceb-5f8b-a31f-632a76dfff41
6,891
0
Title: Performance Considerations for throwing Exceptions I have come across the following type of code many a times, and I wonder if this is a good practice (from Performance perspective) or not: try { ... // some code } catch (Exception ex) { ... // Do something throw new CustomException(ex); } Basic...
188
178
[ ".net" ]
[ ".net", "exception", "optimization", "performance" ]
{"accepted_answer_id":6916,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T20:01:09.050000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2013-01-09T06:01:43.297000+00:00","last_edit_date":"2013-01-09T06:01:43.297000+00:00",...
[ 0.001102447509765625, 0.00417327880859375, 0.01551055908203125, 0.01201629638671875, 0.03314208984375, -0.0179901123046875, 0.01059722900390625, 0.0357666015625, 0.0310211181640625, 0.014739990234375, -0.01207733154296875, 0.00559234619140625, -0.00754547119140625, 0.003582000732421875, ...
[ 10, 83, 90, 138, 153, 214, 277, 552, 820, 984, 1119, 1295, 1380, 2174, 2965, 3060, 3355, 3525, 4127, 4666, 5256, 5941, 6626, 9790, 9844, 10644, 10750, 13409, 13438, 17514, 17721, 18151, 19279, 20028, 20594, 23718, 25632, 32195, 36880, 413...
[ 0.0306396484375, 0.03369140625, 0.032958984375, 0.1181640625, 0.045166015625, 0.04736328125, 0.04150390625, 0.1455078125, 0.078125, 0.03515625, 0.189453125, 0.00244140625, 0.00048828125, 0.0155029296875, 0.041015625, 0.032470703125, 0.16015625, 0.07421875, 0.1083984375, 0.06787...
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...
81ee2ac5-3113-5d87-9b3a-ace3b0332600
7,180
0
Title: Animation in .NET What is a good way to perform animation using .NET? I would prefer not to use Flash if possible, so am looking for suggestions of ways which will work to implement different types of animation on a new site I am producing. The new site is for a magician, so I want to provide animated butto...
115
124
[ ".net" ]
[ ".net", "animation" ]
{"accepted_answer_id":7188,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-10T12:39:20.830000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2010-02-03T20:49:42.390000+00:00","last_edit_date":"2010-02-03T20:07:58.013000+00:00",...
[ 0.0017652511596679688, 0.001995086669921875, -0.0170440673828125, -0.0074462890625, 0.014892578125, -0.021209716796875, -0.03717041015625, 0.028594970703125, 0.0150146484375, 0.0167999267578125, -0.043365478515625, 0.0219268798828125, 0.0198974609375, -0.01715087890625, 0.036468505859375...
[ 5, 10, 23, 47, 54, 70, 83, 100, 352, 442, 645, 959, 1202, 1764, 1884, 2773, 2806, 3378, 3444, 3525, 3917, 4127, 4488, 4527, 4734, 5570, 7722, 10127, 12601, 12921, 13482, 13695, 15490, 16487, 17368, 17777, 22691, 27024, 28750, 29479, 298...
[ 0.078125, 0.0126953125, 0.1171875, 0.03173828125, 0.011962890625, 0.034423828125, 0.0194091796875, 0.0281982421875, 0.033935546875, 0.001953125, 0.154296875, 0.08740234375, 0.0869140625, 0.11328125, 0.0234375, 0.0546875, 0.033203125, 0.087890625, 0.05419921875, 0.052734375, 0...
900deb1c-6c3a-53bd-b6e8-4f216bc98de4
7,231
0
Title: Automatically check bounced emails via POP3? Can anyone recommend software or a .NET library that will check for bounced emails and the reason for the bounce? I get bounced emails into a pop3 account that I can read then. I need it to keep my user database clean from invalid email addresses and want to automa...
75
89
[ ".net" ]
[ ".net", "email", "pop3", "email-bounces" ]
{"accepted_answer_id":7499,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":"2020-01-12T13:18:02.110000+00:00","creation_date":"2008-08-10T16:16:15.370000+00:00","has_accepted_answer":true,"is_closed":true,"languages":[".net"],"last_activity_date":"2021-08-22T00:07:05.423000+00:00","last_edit_date":"2021-...
[ 0.0306243896484375, 0.004215240478515625, -0.02667236328125, 0.01465606689453125, 0.016265869140625, 0.00867462158203125, -0.00627899169921875, 0.035400390625, -0.006580352783203125, 0.017822265625, -0.036834716796875, -0.0037841796875, 0.0238037109375, -0.00783538818359375, -0.026672363...
[ 7, 70, 100, 237, 309, 337, 363, 831, 876, 903, 1221, 1294, 1829, 2046, 3340, 3444, 3871, 3934, 4171, 7068, 7426, 10015, 10975, 11408, 12301, 12765, 13695, 15426, 17777, 29823, 31635, 35672, 35773, 37534, 38937, 46622, 48962, 51719, 56649, ...
[ 0.012939453125, 0.00244140625, 0.083984375, 0.008056640625, 0.1611328125, 0.095703125, 0.18359375, 0.026123046875, 0.08447265625, 0.005126953125, 0.021240234375, 0.05859375, 0.055419921875, 0.00537109375, 0.1923828125, 0.0289306640625, 0.06640625, 0.0252685546875, 0.001708984375,...
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,...
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...
45807d31-b576-5e51-b3c4-5b3c2d78fa79
7,758
0
Title: What is the value-binding syntax in xaml? I'm learning about binding in WPF. I'm having a lot of trouble debugging the parse errors in my xaml, though. What's wrong with this little piece? : <Border Name="TrackBackground" Margin="0" CornerRadius="2" Grid.Row="1" Grid.Colum...
272
341
[ ".net" ]
[ ".net", "wpf", "silverlight", "xaml", "binding" ]
{"accepted_answer_id":8461,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T13:09:08.693000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2025-01-24T00:55:08.173000+00:00","last_edit_date":"2025-01-24T00:55:08.173000+00:00",...
[ 0.040496826171875, 0.00301361083984375, 0.01006317138671875, 0.005756378173828125, 0.01253509521484375, -0.0109710693359375, 0.0133209228515625, 0.0174713134765625, 0.021331787109375, 0.0107879638671875, -0.03253173828125, -0.003631591796875, -0.0082550048828125, -0.0030879974365234375, ...
[ 8, 42, 157, 184, 275, 304, 316, 366, 418, 571, 601, 856, 978, 1414, 1529, 2053, 2389, 2459, 2665, 3796, 4079, 4358, 5631, 5915, 6002, 6226, 6492, 7013, 7237, 8606, 10176, 11675, 12613, 12724, 13025, 15757, 15882, 16882, 18499, 19279, 19...
[ 0.006591796875, 0.0286865234375, 0.138671875, 0.07568359375, 0.1181640625, 0.012451171875, 0.050537109375, 0.0732421875, 0.0068359375, 0.0235595703125, 0.0311279296875, 0.0947265625, 0.058349609375, 0.0159912109375, 0.138671875, 0.080078125, 0.041015625, 0.158203125, 0.0383300781...
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,...
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, ...
f118ec04-7093-511b-b693-07927b8b3f69
8,066
0
Title: .NET Interfaces Over the past few years I've changed from having a long flowing page of controls that I hid/showed to using a lot of user controls. I've always had a bit of a discussion between co-workers on best practices. Should you have properties that you populate, or use paramterized sub's to load the i...
134
151
[ ".net" ]
[ ".net", "user-controls", "interface" ]
{"accepted_answer_id":8086,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T18:30:44.893000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2013-04-04T15:51:01.583000+00:00","last_edit_date":"2013-04-04T15:51:01.583000+00:00",...
[ 0.01360321044921875, 0.017303466796875, -0.011871337890625, -0.00566864013671875, 0.025054931640625, -0.014617919921875, 0.0085906982421875, 0.0218353271484375, 0.0035343170166015625, 0.0006113052368164062, -0.053466796875, 0.02935791015625, 0.0217132568359375, -0.0022068023681640625, 0....
[ 5, 7, 25, 39, 67, 121, 272, 552, 720, 765, 1295, 1614, 1632, 2965, 3674, 4527, 4677, 4785, 4989, 5369, 5608, 5915, 6226, 8306, 9077, 9191, 9790, 10846, 11015, 11343, 17368, 17777, 18244, 22144, 24765, 26818, 27623, 29367, 30783, 31374, ...
[ 0.046630859375, 0.02978515625, 0.0233154296875, 0.0517578125, 0.095703125, 0.142578125, 0.034912109375, 0.03662109375, 0.193359375, 0.021728515625, 0.001953125, 0.23828125, 0.00048828125, 0.06201171875, 0.022216796875, 0.0419921875, 0.0986328125, 0.013671875, 0.003662109375, 0....
9fd64ec2-579a-51d5-b0a9-5192a2df9388
8,128
0
Title: How do I calculate CRC32 of a string How do I calculate the CRC32 (Cyclic Redundancy Checksum) of a string in .NET?
39
41
[ ".net" ]
[ ".net", "crc32" ]
{"accepted_answer_id":8130,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T19:41:20.320000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2023-10-15T03:02:16.693000+00:00","last_edit_date":null,"question_id":8128,"score":55,...
[ 0.0224609375, 0.01117706298828125, -0.0295562744140625, -0.004848480224609375, 0.015960693359375, -0.0224609375, -0.0418701171875, -0.01141357421875, 0.0099334716796875, -0.00591278076171875, -0.04730224609375, -0.001293182373046875, 0.0051727294921875, -0.0299224853515625, 0.01359558105...
[ 5, 23, 32, 54, 67, 70, 87, 111, 313, 1771, 6096, 6460, 11249, 11832, 17777, 25740, 35405, 38679, 48962, 74481, 79315, 151612 ]
[ 0.06494140625, 0.033447265625, 0.001220703125, 0.0654296875, 0.08984375, 0.03173828125, 0.068359375, 0.05029296875, 0.0830078125, 0.015625, 0.087890625, 0.3203125, 0.08935546875, 0.21484375, 0.2177734375, 0.2392578125, 0.2041015625, 0.177734375, 0.039306640625, 0.203125, 0.24...
fbf6cce1-f6b6-5757-af14-85b5d665db52
8,142
0
Title: When should I use Compiled LINQ vs Normal LINQ I just read up on a performance of LINQ, and there is a HUGE amount to be gained by using Compiled LINQ. Now, why won't I always use compiled LINQ?
55
67
[ ".net" ]
[ ".net", "linq-to-sql" ]
{"accepted_answer_id":8152,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T19:50:31.393000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2016-04-02T14:01:03.470000+00:00","last_edit_date":"2009-08-18T12:53:12.893000+00:00",...
[ -0.001068115234375, -0.015655517578125, -0.0164947509765625, 0.00890350341796875, 0.036834716796875, -0.01404571533203125, 0.0011434555053710938, 0.018524169921875, 0.032745361328125, 0.0033016204833984375, -0.029052734375, 0.0174560546875, -0.0031223297119140625, 0.00753021240234375, 0....
[ 14, 18, 297, 375, 2737, 4527, 5608, 5974, 6259, 11343, 12301, 14847, 15400, 15612, 17368, 20209, 21647, 23718, 23742, 28723, 41170, 46610 ]
[ 0.12890625, 0.0234375, 0.052001953125, 0.07177734375, 0.2041015625, 0.0888671875, 0.0269775390625, 0.2060546875, 0.1171875, 0.0673828125, 0.0257568359375, 0.068359375, 0.05322265625, 0.1298828125, 0.0673828125, 0.06591796875, 0.09765625, 0.126953125, 0.032470703125, 0.133789062...
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...
ca88df88-3904-5315-877d-dccaa5df9936
8,585
0
Title: Watch for change in ip address status Is there a way to watch for changes in the ip-address much the same as it is possible to watch for changes to files using the FileSystemWatcher? I'm connecting to a machine via tcp/ip but it takes a while until it gives me an ip-address. I would like to dim out the connect ...
81
96
[ ".net" ]
[ ".net", "windows" ]
{"accepted_answer_id":8593,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T07:53:40.857000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net"],"last_activity_date":"2015-09-01T09:54:49.980000+00:00","last_edit_date":"2015-09-01T09:54:49.980000+00:00",...
[ 0.00843048095703125, -0.00902557373046875, -0.044952392578125, -0.01458740234375, 0.0291748046875, 0.00540924072265625, 0.012908935546875, 0.007144927978515625, -0.002002716064453125, 0.00836944580078125, -0.035400390625, 0.0078887939453125, 0.057861328125, -0.039703369140625, 0.00361633...
[ 10, 17, 23, 47, 56, 64, 70, 100, 214, 254, 712, 765, 1284, 1810, 1829, 1884, 2685, 3442, 3917, 5045, 5701, 7722, 10778, 12960, 15549, 17368, 20413, 24189, 29823, 34355, 35604, 36279, 37067, 39544, 42724, 48962, 51776, 65572, 76199, 77679,...
[ 0.0390625, 0.04736328125, 0.05908203125, 0.08447265625, 0.142578125, 0.03369140625, 0.002197265625, 0.1240234375, 0.005859375, 0.1396484375, 0.0673828125, 0.01025390625, 0.0155029296875, 0.1279296875, 0.038818359375, 0.058349609375, 0.048583984375, 0.1318359375, 0.083984375, 0....
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...