Hi,
please explain the below code
namespace Microsoft.AspNet.Identity
{
// Summary:
// Minimal interface for a user with a string user key
public interface IUser
{
// Summary:
// Unique key for the user
//
// Returns:
// The unique key for the user
string Id { get; }
string UserName { get; set; }
}
}
{
// Summary:
// Minimal interface for a user with a string user key
public interface IUser
{
// Summary:
// Unique key for the user
//
// Returns:
// The unique key for the user
string Id { get; }
string UserName { get; set; }
}
}

Sujeet SumanPosted Dec 22, 2015, 7:02 AM
Rajesh SinghPosted Dec 22, 2015, 6:09 AM
{
// Summary:
// Minimal interface for a user with a string user key
public interface IUser
{
// Summary:
// Unique key for the user
//
// Returns:
// The unique key for the user
string Id { get; }
string UserName { get; set; }
}
}
Francis SusaimichaelPosted Dec 22, 2015, 5:02 AM
{
public interface IUser
{
string Id { get; } // readonly property
string UserName { get; set; } // read-write property
}
}