C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

learn more… | top users | synonyms (4) | c# jobs

0
votes
0answers
16 views

How to map properties of two different objects?

I want to know how to map fields of two different objects and assign the values to it. Eample: public class employee { public int ID { get; set; } public string Name { get; set; } } public ...
0
votes
0answers
6 views

A fixed size Dictionary with substitution priority

I want to have a fixed-size dictionary. I am adding to it elements with a high frequency. But I want it to substitute the newer elements with higher priority with previous ones. Any help would be ...
0
votes
0answers
8 views

Continually scan hundreds of MongoDB databases with long running task

We have a SaaS web product with hundreds of business customers. We will probably hit 1000 customers in the next 12 months. Our MongoDB implementation has one MongoDB database per customer. We also ...
0
votes
0answers
11 views

How to display exact decimal value instead of exponential in DataTable

I've a data table which is attaching to a DataGrid and in that few columns are having decimal values and we can edit these values in GUI, but when ever i edit a value from 0.01 to 0.000000001 it's ...
0
votes
0answers
6 views

Can I create a proper drop down menu list in windows phone, nothing like Picker Box, ListPicker, AutoCompleteBox achieving my objective properly?

I want to create a drop down menu in my windows phone silverlight application, from which user can select a mobile service provider amongst many of them, i.e user can select a Big Tv amonst Airtel ...
4
votes
2answers
15 views

how to handle List in View - MVC asp.net

Hi all can anyone help me ... Im very new to c# and mvc public class CatagoryModel { public int Id { get; set; } public string CName { get; set; } } and my controller is public ...
0
votes
0answers
8 views

How to add buttons to Devexpress?

I am using Devexpress and wpf. I made MVVM. I want to add buttons above the home tab as shown by this image. How is it possible? <Grid> <dxb:BarManager> ...
0
votes
1answer
13 views

Trim whitespace from all DataSet fields

I currently have a DataSet which contains a single table. Inside the single table there are 150,000 rows. Each row contains 15 columns. What I need to do is trim the whitespace from all fields ...
0
votes
0answers
12 views

set many function of many text using <a href>

public string viewAllData(int shows_ID) { ..... } for (int i = 0; i < dt.Rows.Count; i++) { mot += "<a href=\"javascript:void(0)\" onclick=\"viewAllData('" + ...
0
votes
0answers
15 views

C# extract escape character from string

I'm reading an encoded string into memory and decode it. The string is something like "test\file1.txt". Normally, C# would see this as string literal "test \\ file1.txt", correctly assigning an ...
0
votes
0answers
6 views

Cannot debug application in release mode even with DebugType=full

We are building a solution for Release, but when attempting to attach using studio 2010 professional, no thread is showing any stack information, nor any breakpoint can be set, etc. The goal is to be ...
0
votes
0answers
15 views

Creating a Windows Phone 8 GUI using C++

I have been handed an API written in C++ to create a Windows 8 phone app. As I understand it I can import this API into a c# project? If so, how would I go about doing that? The image below shows the ...
0
votes
3answers
15 views

Image creation in model

I am having trouble creating a model which also displays a pic, my model class: public class City { public string Name { get; set; } public Image Country { ...
0
votes
0answers
8 views

Get Country/Region name from windows phone 8

I have the screenshot and I am intending to retrieve the country which should be "Nigeria". After going through the System.Globalization class, I found the code snippet below ...
2
votes
2answers
18 views

Chaining commands by returning this pointer/reference in C# without assignment

This is mostly a syntax question. Here's a related thread showing different alternatives to achieve the same result: Method-Chaining in C# Now, in C++ it is possible to chain commands on an object by ...

1 2 3 4 5 32462
15 30 50 per page