Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange syntax
Message
De
26/12/2014 13:59:53
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01612723
Message ID:
01612724
Vues:
66
>In one of the methods I see the following code
>
>
>searchValue = searchValue = pi.GetValue(searchCriteriaViewModel);
>
>What does this double = mean here? Is it a typo or has some meaning?
>
>Thanks in advance.

This seems like a boolean variable. Basically, the searchValue boolean variable would be True if the new value equals the previous value. I have seen something like that before and adjusted the code after as this is highly confusing. Not totally sure if this is the case here but maybe someone else can provide more info.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform