1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00
2010-10-20 18:51:41 +02:00

49 lines
832 B
C#

using System;
namespace cs2jTest.Various.Features
{
public class Various
{
public Various ()
{
}
public string TestRWProperty {get; set;}
public string get_TestRWProperty() {
return "hello";
}
private string _testROProperty = null;
public string TestROProperty {
get { return _testROProperty; }
}
private string _testWOProperty = null;
public string TestWOProperty {
set { _testWOProperty = value;}
}
public static explicit operator Various(int i)
{
return new Various();
}
public static implicit operator Various(string i)
{
return new Various();
}
public static explicit operator bool(Various v)
{
return true;
}
public static implicit operator string(Various v)
{
return "Various";
}
}
}