Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange syntax
Message
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:
01612771
Vues:
70
That depends on a lot of things you're not telling us. What type is searchValue?

Regardless if this code is C#, the second = expression is pointless because it's simply assigning the first value assigned a second time to the same variable. Valid, but pointless and the compiler probably optimizes that away completely.

+++ Rick ---

>Hi,
>
>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.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform