Click here to Skip to main content
15,877,482 members
Home / Discussions / C#
   

C#

 
AnswerRe: Email tracking in c# read/not read Pin
OriginalGriff21-Aug-16 23:56
mveOriginalGriff21-Aug-16 23:56 
JokeRe: Email tracking in c# read/not read Pin
Mycroft Holmes22-Aug-16 12:58
professionalMycroft Holmes22-Aug-16 12:58 
GeneralRe: Email tracking in c# read/not read Pin
OriginalGriff22-Aug-16 21:35
mveOriginalGriff22-Aug-16 21:35 
QuestionVisual Studio - how to change "var" to corresponding class Pin
Member 1094519421-Aug-16 0:14
Member 1094519421-Aug-16 0:14 
AnswerRe: Visual Studio - how to change "var" to corresponding class Pin
OriginalGriff21-Aug-16 0:44
mveOriginalGriff21-Aug-16 0:44 
AnswerRe: Visual Studio - how to change "var" to corresponding class Pin
BillWoodruff21-Aug-16 0:52
professionalBillWoodruff21-Aug-16 0:52 
GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
OriginalGriff21-Aug-16 1:46
mveOriginalGriff21-Aug-16 1:46 
GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
F-ES Sitecore21-Aug-16 23:05
professionalF-ES Sitecore21-Aug-16 23:05 
ReSharper is the demon responsible for most of this var nonsense!

C#
// Can you guess what VS plug-in I use?
var customers = ctx.Customers.Where(c => c.HasOrders);
var customer = customers.FirstOrDefault();
if (customer != null)
{
    var orderCount = customer.Orders.Count;
    var value = customer.Orders.Sum(o => o.Total);
    var postage = ctx.Postage.Where(p => P.Country == customer.Country);
    var valuePlusPostage = value += postage;
    var tax = financeHelper.TaxRate;
}

GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
Maarten197722-Aug-16 1:57
Maarten197722-Aug-16 1:57 
GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
F-ES Sitecore22-Aug-16 2:04
professionalF-ES Sitecore22-Aug-16 2:04 
JokeRe: Visual Studio - how to change "var" to corresponding class Pin
Richard MacCutchan22-Aug-16 2:09
mveRichard MacCutchan22-Aug-16 2:09 
GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
Maarten197722-Aug-16 2:35
Maarten197722-Aug-16 2:35 
GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
Pete O'Hanlon22-Aug-16 2:45
mvePete O'Hanlon22-Aug-16 2:45 
GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
Maarten197722-Aug-16 3:11
Maarten197722-Aug-16 3:11 
GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
Pete O'Hanlon22-Aug-16 3:25
mvePete O'Hanlon22-Aug-16 3:25 
GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
F-ES Sitecore22-Aug-16 3:16
professionalF-ES Sitecore22-Aug-16 3:16 
GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
Richard Deeming22-Aug-16 4:26
mveRichard Deeming22-Aug-16 4:26 
AnswerRe: Visual Studio - how to change "var" to corresponding class Pin
#realJSOP25-Aug-16 5:46
mve#realJSOP25-Aug-16 5:46 
GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
Maarten197725-Aug-16 6:51
Maarten197725-Aug-16 6:51 
GeneralRe: Visual Studio - how to change "var" to corresponding class Pin
Richard Deeming22-Aug-16 2:06
mveRichard Deeming22-Aug-16 2:06 
Questionbrowse ith records on the GridView if errors rerun record or run next record ? Pin
Member 245846719-Aug-16 17:59
Member 245846719-Aug-16 17:59 
AnswerRe: browse ith records on the GridView if errors rerun record or run next record ? Pin
OriginalGriff19-Aug-16 21:43
mveOriginalGriff19-Aug-16 21:43 
AnswerRe: browse ith records on the GridView if errors rerun record or run next record ? Pin
Richard MacCutchan19-Aug-16 22:00
mveRichard MacCutchan19-Aug-16 22:00 
GeneralRe: browse ith records on the GridView if errors rerun record or run next record ? Pin
Member 245846720-Aug-16 17:57
Member 245846720-Aug-16 17:57 
QuestionAT+CREG? command Pin
Mike Angelo Gunao Navales18-Aug-16 22:59
Mike Angelo Gunao Navales18-Aug-16 22:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.