Я решил эту проблему, где я не могу определить свойства в C#. Что я делаю не так? Как я должен продолжить? Код: < /p>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RealEstate
{
internal class Ad
{
public int id { get; set; }
public int rooms { get; set; }
public int floors { get; set; }
public int area { get; set; }
public string description { get; set; }
public int freeOfCharge { get; set; }
public string imageUrl { get; set; }
public DateTime createAt { get; set; }
public int sellerId { get; set; }
public string sellerName { get; set; }
public string sellerPhone { get; set; }
public int categoryId { get; set; }
public string categoryName { get; set; }
}
}
Подробнее здесь: https://stackoverflow.com/questions/796 ... in-c-sharp