Click here to Skip to main content
15,888,221 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I want to convert Lazy<object, object> to Lazy<IOperationData, IOperation> where IOperationData and IOperation are interfaces.

C#
foreach (Lazy<object, object> i in operations)
            {
                if ((i.Metadata as IOperationData).Symbol.Equals(operation)) 
                       return (i.Value as IOperation).Operate(left, right).ToString();
            }
Posted
Comments
stibee 11-Oct-13 4:11am    
whats about posting the error information and some more code?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900