Hi
I have the following code and i'm getting the following error:
Cannot implicitly convert type 'string' to 'Web.Domain.Models.Global.LogosAndAltText'
Can anyone please take a look at my code below and see whats causing the problem:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Web.Domain.Models.Global
{
public struct LogosAndAltText
{
public string SeasonImageLeft, SeasonImageRight, SeasonImageLeftAltText, SeasonImageRightAltText;
public LogosAndAltText(string strLeftLogo, string strLeftAltText, string strRightLogo, string strRightAltText)
{
SeasonImageLeft = strLeftLogo;
SeasonImageLeftAltText = strLeftAltText;
SeasonImageRight = strRightLogo;
SeasonImageRightAltText = strRightAltText;
}
}
public static class LogoForMonthOfYear ...
Go to the complete details ...