6992685b86
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
16 lines
227 B
C#
16 lines
227 B
C#
using System;
|
|
|
|
class Event
|
|
{
|
|
public string Name { get; set; }
|
|
public string Foo { get; set; }
|
|
}
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{
|
|
var evt = new Event();
|
|
string str = (evt.Foo != null ? evt?.Name : "").Trim();
|
|
}
|
|
} |